Re: [users@httpd] Re: how to limit access to application base on port number

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Joshua,
I am using Oracle App Server, which uses Apache as its
webserver.  I tried your suggestion on a newer version
of the App Server and it worked.  But on an older
version of the App Server it did not work.  Where it
fail is when I try to access server:7777/.  Any idea
why it would be different?

Thanks,
Charles Li

--- Joshua Slive <jslive@xxxxxxxxx> wrote:
> On Apr 5, 2005 1:53 PM, Charles Li
> <cli168@xxxxxxxxx> wrote:
> > Joshua,
> > Another related question.
> > What if I want users to be able to access "/" on
> any
> > port, which give a generic page, but lock down the
> > other applications?
> > 
> > ie.
> > this is OK:  server:7777/ or server:8888/
> > 
> > for port 7777:
> > this is OK:
> > server:7777/ or server:7777/App001 ONLY
> 
> <Location />
> Order deny,allow
> Deny from all
> </Location>
> <LocationMatch ^/$>
> Order deny,allow
> Allow from all
> </LocationMatch>
> <Location /App001>
> Order deny,allow
> Allow from all
> </Location>
> 
> You may want to allow access to ^/index.html$ as
> well in a similar fashion.
> 
> Joshua.
> 


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Personals - Better first dates. More second dates. 
http://personals.yahoo.com


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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux