[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: question about a vertualhost file for apache2



On Sat, 05 Mar 2011 14:09:18 -0600, mike cutie and maia wrote:

(avoid html format)

> I am try to create a file that looks like this

(...)

>      DocumentRoot /srv/www/bucknell.net/public_html/
                                                     ^
(...)
  
> But when I restart apache2 with /etc/init.d/apache2 restart I get this
> error
> 
> 
>  
> Syntax error on line 5 of /etc/apache2/sites-enabled/jmshosting.com:
> 
> DocumentRoot tskes one argument, Root tirectory of the document tree
> 
> Action 'configtest; failed.

Remove the last "/" from the path.

Greetings,

-- 
Camaleón


Reply to: