homepage Welcome to WebmasterWorld Guest from 54.242.18.190
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Visit PubCon.com
Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
Forum Library, Charter, Moderators: phranque

Website Technology Issues Forum

    
Link to a Microsoft Access Database file
How to create a link from a web page to MS Access file
hummingbird




msg:663833
 6:22 pm on May 25, 2001 (gmt 0)

The company I am working for has an Intranet and would like to have a link in a web page to a Microsoft Access Database file. We have an Apache server.

I tried to placed the db in a folder on the server and when I click on the link in the web page the Access file does not open.

Any specific configuration that I need to do. (For a Word document though is works perfectly.)

Looking forward to read your suggestions

--H

 

sugarkane




msg:663834
 11:15 am on May 26, 2001 (gmt 0)

Depending on what version of apache you're using, there should be a file in the configuration directory called 'apache-mime.types', 'mime-types.conf' or something similar.

Try adding the line:
application/msaccess ext

Where 'ext' is the file extension that Access uses (I can't remember off hand...). You may need to restart apache before the change takes effect.

This should work, but I've never tried it.

hummingbird




msg:663835
 12:33 am on May 29, 2001 (gmt 0)

Thank you Sugarkane, it worked. (Access file extension is .mdb)

Cheers

-H

tedster




msg:663836
 3:39 am on May 29, 2001 (gmt 0)

I have a related question. A client of mine paid a developer for an Access database. The developer (who now is impossible to reach) said in his written instructions that the database MUST be served on NT.

Can that be true?

Woz




msg:663837
 3:47 am on May 29, 2001 (gmt 0)

if you are going to serve dynamic pages from the Access database then Yes, it must be served on NT. IIS has the functions built in to run access just the same as running it on PC. I believe from Toolman that ASP will run on unix through Chillisoft, but as far as I am aware Access cannot.

In the case above, the access database is residing on the unix server, but when "clicked on", I believe the database would be loaded in the client machine, ie., Windows.

Onya
Woz

Marcia




msg:663838
 4:22 am on May 29, 2001 (gmt 0)

>when "clicked on", I believe the database would be loaded in the client machine, ie., Windows.

Couldn't this potentially represent some sort of security problem?

Woz




msg:663839
 4:37 am on May 29, 2001 (gmt 0)

>Couldn't this potentially represent some sort of security problem?

on an open internet site yes. However, in the original post hummingbird is talking about an Intranet.

Onya
Woz

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved