Re: [SLE] Apache2 problem



On Thu, 2006-03-30 at 06:19 -0600, Alan Dowley wrote:
Hi all.

I have a virtual server setup and trying to add a second web site
(virtual). I created a file with the following:

<VirtualHost www.mobilecomputerschools.ca:80>

ServerAdmin alan@xxxxxxxxxxxxxxxxxxxx
ServerName www.mobilecomputerschools.ca

DocumentRoot /var/www/mobilecomputerschools/
ErrorLog /var/log/apache2/mcs-error.log
CustomLog /var/log/apache2/mcs-custom.log combined

HostnameLookups Off
UseCanonicalName Off
ServerSignature On

<Directory /var/www/mobilecomputerschools/>
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>

</VirtualHost>

I have created the symlink and directory 'mcs' but when I restart the
apache2 server I get the following error message:

Forcing reload of web server: Apache2Warning: DocumentRoot
[/var/www/mobilecomputerschools/] does not exist
Warning: DocumentRoot [/var/www/mobilecomputerschools/] does not exist

Can anyone tell me what is causing this error.

This is my first attempt at setting up a virtual web site.


Have you actually created the directory before restarting Apache?

--
Ken Schneider
UNIX since 1989, linux since 1994, SuSE since 1998


--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx



Relevant Pages

  • Re: Problem Adding New User to Site
    ... The other is to add a user of the local server. ... > new web site using one of the provided templates, ... > Can anyone tell me why I might be getting this error message, ... > input from me as web site administrator to manually add new users. ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: companyweb, Monitoring and Performance and Backup not working!
    ... For the companyweb site, and the 'Backup' and 'Monitoring' virtual directories under the Default Web Site, only the 'Integrated Windows Authentication' should be selected. ... In the "Monitoring and Reporting" section in Server Management I get ...
    (microsoft.public.windows.server.sbs)
  • Re: Cant see performance report, etc. SBS2003
    ... However, for "OpenSSH Server", you need to ensure it started, or set ... click to check the "Hide All Microsoft Services" ... Make sure no host header is assigned to the Default Web Site. ... Reinstall Monitoring component: ...
    (microsoft.public.windows.server.sbs)
  • Re: IIS (on SBS 2k) default website stopped address already in use
    ... server box properly and configure the following settings on the ISA server. ... Create an anonymous Site and Content rule for Windows Update ... Web site through a server that is running ISA Server ... Microsoft CSS Online Newsgroup Support ...
    (microsoft.public.windows.server.sbs)
  • Re: publishing multiple websites in ISA 2004
    ... hosted off of a second server that is a member server in the network. ... We can publish multiple internal websites through ISA ... INSIDE OF SBS NETWORK, IS SAFER THAN JUST ON THE SBS/ISA BOX, CORRECT? ... 816576 How to create a new virtual server or Web site in Internet ...
    (microsoft.public.windows.server.sbs)