Forum Moderators: phranque

Message Too Old, No Replies

Apache 2+ and access database on XP . problem

         

mother

8:21 pm on Oct 26, 2008 (gmt 0)

10+ Year Member



Hello everyone I am a newbie here so be easy on me. I have just put on apache 2.2.10 and can access html and asp pages (without data calls to access database), however when trying to get asp files that get data from my access database (using XP) my browser just wants to download the file and not pharse the data in my shopping cart in the browser "browser bar shows protecting me from downloading from server files from computer". All files where working using my IIS server but am at a loss what I am missing in apache now. Any help appreciated.

g1smd

8:38 pm on Oct 26, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Not sure if Apache has a handler for ASP.

If there is such a thing, you'll maybe need AddType or AddHandler in the Apache config file to get it going.

Oh, and the MIME type will need to be set to text/html, as whatever it is now maybe isn't the correct thing the browser needs to see.

What does Live HTTP Headers show you in the HTTP header?

If you download the web file is it just source code for your script?

Sorry, this is all just a guess, as it isn't something I have played with. However the answers to the above questions may be useful to someone else who does know about it...

A Google search for [running asp on apache] looked like it returned some useful stuff.

mother

11:05 pm on Oct 26, 2008 (gmt 0)

10+ Year Member



MIME type is set to text/http in the config file and is does show just standard asp pages if no calls are made to the access database for data. No code is being show when I pull up the asp page.

<snip>

It seems like I am missing something simple just cannot put my finger on it.

[edited by: jdMorgan at 7:29 pm (utc) on Oct. 27, 2008]
[edit reason] No URLs, please. See Terms of Service. [/edit]