Reading Linux

Mar 12, 2004 18:39 # 20274

acid_reign * wants to know...

Apache troubles

All right. Here's the scoop.

I'm running Red Hat 8.0 on my system with an Apache 2.0 server and MySQL database.

A couple of days ago i reinstalled Linux. After the installation my PHP scripts worked fine. (I'd done all the changes required to httpd.conf). Then the troubles started.

I rebooted my system and ever since my PHP scripts just wont work. I keep getting the 'Object Not Found' (404) error. That would mean my URL was incorrect or the files were not present on the server. I've 'zillion' checked. The URL's are correct and the file is there.

On the other hand HTML scripts work fine.

Now, since 'Object Not Found' is not an error in PHP, this problem has nothing to do with it. The problem is with the server service, and what it is, I haven't been able to figure out.

The following do not count as solutions because I've checked them :

1. Make sure the service is running. / It is /
2. Make sure root directory is correct. / It is /
3. Check the manuals. / I have /

NI

Mar 14, 2004 21:39 # 20323

Jaz *** replies...

Re: Apache troubles

Guesses into the wild: Check httpd.conf and possibly overriding .htaccess files for funny aliases and rewriting rules. Make sure Apache is able to find the PHP interpreter.

If nothing works it would be interesting to know what happens if you let Apache host another blank virtual server and try to run a one of your scripts there.

'Yeah, That's what Jesus would do. Jesus would bomb Afghanistan. Yeah.' - snowlion

Mar 14, 2004 21:56 # 20325

acid_reign * replies...

Re: Apache troubles

If nothing works it would be interesting to know what happens if you let Apache host another blank virtual server and try to run a one of your scripts there.

Interesting thought. I'll let you know what happens as soon as I do that.

httpd.conf is just fine. So is .htaccess. Running out of time finishing off this site for the project.

I'll definitely try your idea out in a couple of days. (Will have to run it in the college lab).

NI


Small text Large text

Netalive Amp (Skin for Winamp)