You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Roger Simmons <ro...@earthlink.net> on 2003/02/06 19:37:55 UTC

[users@httpd] Limit access by /pattern/ and port possible?

I have virtual hosts setup and want to limit
access based on port number and a pattern in the url.
Is there a simple one line way to do this in the
virtual host section?  I have read the documentation
and searched for examples but have not found a way to
limit access based on pattern and port.

For example if the url contains /pattern1/ I only
want access granted if the request came from port 8080.
If the url contains /pattern2/ I only want access
granted if the request came from port 8081 and so on.

thanks

-- 
Roger Simmons

--
Ski Utah! - Park City & Deer Valley Vacation Rental
Easy access to two resorts, Great location for Sundance Film Fest
url:  	http://home.earthlink.net/~parkcity




---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org