Site Hosting Returns Error
Posted by: Swiftwater_ (---.20.4.145.dts.net.nz)
Date: November 14, 2006 10:05PM

I have just installed Wamp5 on XP SP2 and it has installed correctly and is functioning. Apache and MySql work, localhost site works, and so do the other sites that wer installed by default.

I have added new alias, and this has added correctly and show in the list. When I try and access the site I get a site error.

Not Found

The requested URL /dbtd was not found on this server.
Apache/2.0.59 (Win32) PHP/5.2.0 Server at localhost Port 80

I have checked the and compared the dbtd.conf and the installed site .conf and they are the same except for the folder path and the alias name, which you would expect.

The dbtd.conf file contains

lias /dbtd/ "E:/16-WebSites/DBTD/NewHtml2/"

# to give access to phpmyadmin from outside
# replace the lines
#
# Order Deny,Allow
# Deny from all
# Allow from 127.0.0.1
#
# by
#
# Order Allow,Deny
# Allow from all
#

<Directory "E:/16-WebSites/DBTD/NewHtml2/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>

Does the web site folder have to be on C: with the install of wamp?

It is my first excersion into the Apache web services environmnet so I might be missing something fundimental here.

SW

Options: ReplyQuote
Re: Site Hosting Returns Error
Posted by: CyberSpatium (71.237.217.---)
Date: November 15, 2006 08:00AM

did you remember to include your alias conf file in your httpd.conf file? if not put this line at the very end of your htttpd.conf file:
Include "c:/wamp/apache2/conf/alias/dbtd.conf"

after you finish editing your httpd.conf file, restart apache for the new setting to take effect.

also make sure you are accessing your new alias correctly with your browser. according to your alias conf setting above, access it like this:
http://localhost/dbtd

CyberSpatium
WAMP English Forum Admin

Options: ReplyQuote


Sorry, only registered users may post in this forum.