Click to See Complete Forum and Search --> : Apache problems


weapon_vii
07-23-2003, 07:56 AM
I've downloaded Apache and PHP and followed the installation porcess for both but I'm still having problems with the former. When I test the server using http://localhost/ I get an error message stating that the page is unaccessible.

I'm miffed because it actually worked last night and earlier this morning and I've even resorted to using the default config file but still to no avail. Anyone experienced similar?

piersk
07-23-2003, 08:14 AM
Can you post some more details on here please, like what OS you are running etc...

weapon_vii
07-23-2003, 08:57 AM
My OS is XP.
I'm also running , MySqlAdministrator, Zonealaram and Mcaffee virus scan but the problem persists even after disabling these programs.

chanhoisang
08-15-2003, 12:13 PM
did you set the root directory and the access permission?

in apache, edit the configuration file, then put:

Alias / "c:/root_directory/"

<Directory "C:/root_directory/">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>



that's it

hi-liter
08-15-2003, 07:25 PM
http://www.phpbuilder.com/board/showthread.php?s=&threadid=10250927

and as chanhoisang mentioned setting documentroot (The directory out of which you will serve your documents) and also directory (This should be changed to whatever you set DocumentRoot to.) in httpd.conf and listen port too, if different that 80.

sameerni
08-16-2003, 05:29 AM
yeh, i had the same prob a few days ago. then i figured out that apache is running on port 8080 default. i compiled from source. it was apache 1.3.27 on linux.

check in httpd.conf what port it is running on.
if its not 80 then you have to give
http://localhost:8080/
or whatever your port number is....

Sameer