You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Paulo Azevedo <pa...@ieg.com.br> on 2001/12/03 20:24:38 UTC

Virtual host problem


Hi all

	
	I configured my apache 1.3.20 in linux red hat 7.1 

	and I configured de virtual host, but I have a problem ...

	I need pub / in end of the sub-directories if I didn't put / 
	
	I can't see the page ... 

	for exemple:

	when I put http://www.teste.com.br/teste/   it's ok
	but http://www.teste.com.br/teste  it's not ok 

         
        Obs: When I configure without VirtualHost I don't have this problem
...

	
	see my Virtual Host configuration 


	<VirtualHost www.teste.com.br:80 >
	    ServerAdmin admin@teste.com.br
	    DocumentRoot /opt/teste/www/
	    ServerName www.teste.com.br
	    ErrorLog  logs/error.log
	    CustomLog logs/access.log common
	</virtualhost> 

	help please 

	thanks 



http://www.ieg.com.br

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: Virtual host problem

Posted by Joshua Slive <jo...@slive.ca>.

> -----Original Message-----
> From: pauloazevedo@ieg.com.br [mailto:pauloazevedo@ieg.com.br]
>
> 	I need pub / in end of the sub-directories if I didn't put /

See:
http://httpd.apache.org/docs/misc/FAQ.html#set-servername

	<VirtualHost www.teste.com.br:80 >
> 	    ServerAdmin admin@teste.com.br
> 	    DocumentRoot /opt/teste/www/
> 	    ServerName www.teste.com.br

That ServerName doesn't resolve for me.  If it doesn't resolve for you
client, that would be the problem.

Joshua.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org