On Mar 10, 2007, at 2:03 AM, Vincent Bray wrote:
On 10/03/07, Kyle <genkokitsu@xxxxxxxxxxxxx> wrote:Initially when I installed Linux on my computer I didn't have a pressing need to use the apache server, so I allowed it to default onthe install. For some unknown reasion, the installer set up Apache withVirtualHosts enabled. Now I'm trying to set up a web site and I'm having problems, namely I'm trying to disable the use of VirtualHosts as I don't need them--there will be only one site hosted here. I've edited the conf file, commenting out the line: #Include /etc/apache2/sites-enabled/[^.#]* However now my web browser is returning a 'File Does Not Exist' error,even though there's an index.html file in place. There's something thatI'm missing, I'm sure of that, but the files on the apache site are remarkably unhelpful when it comes to turning OFF VHs, all the docs I've found are about turing them on. Same for the web searches I've done.There's really no reason to 'turn them off'. Just use the default vhost as provided by your debian installation. May I ask why you wish to not use a vhost?Otherwise, check your error log for the path to the file apache couldn't find.-- noodl
Mostly because of the redirect to /apache-default/ that it was doing. I altered the VirtualHost conf file to point at the dir where I'm setting up the new site, that way the redirect makes a little more sense.
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx