Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I have a LAMP setup and Joomla. I want to have some URLs/pages in my Joomla website only internally to my subnet. Is there a file/URL equivalent for Directory like this?

<Directory /usr/share/biowiki>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order deny,allow
    deny from all
    Allow from subnet-address
</Directory>

Or is there any alternative to achieve this?

share|improve this question

1 Answer 1

did it my self using Location

<Location /contact/login-here>
   Options Indexes FollowSymLinks MultiViews
   AllowOverride None
   Order deny,allow
   deny from all
   Allow from subnet-ip
</Location>

this will mean URL http://mywebserver.com/contact/login-here is viewable only locally.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.