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]

 




Use a VirtualHost for each port, and (for example)
Location + Allow/Deny to restrict them to appA and appB respectively.

http://httpd.apache.org/docs-2.0/mod/core.html#virtualhost
http://httpd.apache.org/docs-2.0/mod/core.html#location
http://httpd.apache.org/docs-2.0/mod/mod_access.html#deny

bvr.

Charles Li wrote:
This is what I would like to do:

When a user comes in using URL: server:7777, I want
them to only access server:7777/appA, they can not
access other apps but appA

When a user comes in using URL: server:8888, I want
them to only access server:8888/appB, they can not
access other apps but appA

Thanks,
Charles Li


--- Charles Li <cli168@xxxxxxxxx> wrote:

Is there a way to limit what application a user can
access base on the port number the user comes from?
ie.  I want user coming in from port 7777 to only be
able to run app A, and port 8888 to only run app B.

Thanks.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
protection around http://mail.yahoo.com



		
__________________________________ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.mail.yahoo.com/mail_250

---------------------------------------------------------------------
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




---------------------------------------------------------------------
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