asdfdsa Posted September 16, 2007 Share Posted September 16, 2007 I installed apache and php/mysql for personal use (port 80 is blocked to the public), because it's all I know how to use for scripting and database stuff (I'm an apache/web server noob though). But now I want one subdir to be public. Is there a way to only allow some subdirs to be accessed from localhost (and can't be spoofed)? I.e. htdocs/public - can be accessed through 'ipaddress/public' or something similar htdocs/private - can only be accessed by '127.0.0.1/private' Quote Link to comment Share on other sites More sharing options...
asdfdsa Posted September 16, 2007 Author Share Posted September 16, 2007 Maybe the solution involves proxies in some way, I don't know anything about proxies though Quote Link to comment Share on other sites More sharing options...
asdfdsa Posted September 16, 2007 Author Share Posted September 16, 2007 Nevermind, I got it Must be the stupidest question ever. Allow/Deny is probably the first thing anyone ever learns with Apache Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.