httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edward...@ita.org.mo
Subject Problem of rewrite
Date Mon, 05 Aug 2002 10:09:17 GMT
I can't connect to http://domain.com ( of course http://www.domain.com
alos fail ) according this setting of httpd.cof :

NameVirtualHost 192.168.200.1

<VirtualHost domain.com>
DocumentRoot "/home/domain/html"
ServerAdmin root@domain.com
RewriteEngine on
RewriteRule ^/$ http://www.domain.com
<Directory "/home/domain/html">
 Options Indexes Includes FollowSymLinks MultiViews ExecCGI
 AllowOverride All
 Order allow,deny
 Allow from all
</Directory>
ErrorLog /var/log/httpd/error.log
CustomLog /var/log/httpd/access.log common
</VirtualHost>

<VirtualHost www.domain.com>
DocumentRoot "/home/domain/html"
ServerAdmin root@domain.com
<Directory "/home/domain/html">
 Options Indexes Includes FollowSymLinks MultiViews ExecCGI
 AllowOverride All
 Order allow,deny
 Allow from all
</Directory>
ErrorLog /var/log/httpd/error.log
CustomLog /var/log/httpd/access.log common
</VirtualHost>

So, can you help me more ?

Thanks,

Edward.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message