Apache intallation not working in XP Pro

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
sovereign6
Forum Newbie
Posts: 3
Joined: Tue Oct 26, 2004 7:39 am
Location: UK

Apache intallation not working in XP Pro

Post by sovereign6 »

Hi all

Installed apache_2.0.44-win32-x86-no_ssl.msi on XP Pro, changed port to 8080 as I am running Skype.

Opened up browser and typed http://localhost/

This is result

Directory Listing Denied

This Virtual Directory does not allow contents to be listed.

Can anyone please help me out here?

Thanks
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

You should browse to http://localhost:8080 in that case :)
sovereign6
Forum Newbie
Posts: 3
Joined: Tue Oct 26, 2004 7:39 am
Location: UK

Post by sovereign6 »

Hi timvw

Thanks for your reply.

Tried that one already.

It also says No services installed.

Cheers
redmonkey
Forum Regular
Posts: 836
Joined: Thu Dec 18, 2003 3:58 pm

Post by redmonkey »

Hmm, I seem to remember that in a lot of cases with XP you have to allow the Apache service access to read the directories/files.

I think you configure it in the services manager and give config Apache to run under a username that has access to those files/directories.

Could be completely wrong though.
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

And configure Apache that is has rights to generate an Index list ;)

LoadModule autoindex_module modules/mod_autoindex.so


<Directory "C:/Program Files/Apache Group/Apache2/htdocs">
# http://httpd.apache.org/docs-2.0/mod/core.html#options
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Post Reply