httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kaushik kanni <roy...@yahoo.com>
Subject Re: Problem of rewrite
Date Mon, 05 Aug 2002 10:31:05 GMT
Hi,
you need to configure your DNS server to map each
hostname to the correct IP address and then configure
the Apache HTTP Server to recognize the different
hostnames. If u have already done this.. then i am not
sure what is to be corrected ..
Rgds



--- EdwardSPL@ita.org.mo wrote:
> 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
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

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


Mime
View raw message