[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Lost web interface w/ raq4
- Subject: RE: [cobalt-users] Lost web interface w/ raq4
- From: "Dan Kriwitsky" <list1@xxxxxxxxxxxxxxxxxxxx>
- Date: Mon Jun 10 13:20:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> When I do this I get the following:
> # /etc/rc.d/init.d/httpd restart
> Shutting down Web Service:
> Setting up Web Service: Syntax error on line 7 of
> /etc/httpd/conf/httpd.conf:
> Invalid command 'RewriteEngine', perhaps mis-spelled or defined by a
> module not included in the server configuration
> /usr/sbin/httpd
>
> Line 7 says RewriteEngine On
>
> So any advice before a restore? Any log files I should look at for
> knowing why dhcp stops nightly?
>
Have you compared httpd.conf to the master file? Maybe something isn't
getting loaded before that.
Are you using an include.conf file loaded before your main site? My
first site looks like:
NameVirtualHost 216.xx.xxx.xx
<VirtualHost 216.xx.xxx.xx>
ServerName host.domain.com
ServerAdmin admin
DocumentRoot /home/sites/home/web
RewriteEngine on
RewriteCond %{HTTP_HOST} !^216.xx.xxx.xx(:80)?$
RewriteCond %{HTTP_HOST} !^host.domain.com(:80)?$
RewriteRule ^/(.*) http://host.domain.com/$1 [L,R]
RewriteOptions inherit
AliasMatch ^/~([^/]+)(/(.*))? /home/sites/home/users/$1/web/$3
</VirtualHost>
--
Dan Kriwitsky
Please reply onlist only