The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
2answers
688 views

Deny access to subfolder and file with .htaccess

I need to deny access to configuration files under some subfolder. Currently I have this rule but it doesn't work: <Files ~ "((foo|bar))$"> Order deny,allow Deny from all </Files> ...
0
votes
1answer
26 views

How do I override a FILES rule?

There is a directive that denies access to all index.html (file name used for example only). <files index.html> errordocument 403 http://mydomains.com/no-access.html order deny,allow deny from ...
0
votes
1answer
91 views

Incorrect Directory Index

I am attempting to load as the default DirectoryIndex home.html, but the site keeps jumping to index.php. Website is built on WordPress. httpd.conf DirectoryIndex index.html home.html index.php ...
0
votes
1answer
327 views

CentOS test page and .htaccess

When I use the line below in the .htaccess file, I get the apache CentOS test page. RewriteCond %{REQUEST_FILENAME} !-d How can I fix this?
1
vote
0answers
157 views

Need .htaccess Rewrite Rule To Remove Trailing <br%20/>

I have links that for some reason have a trailing <br%20/> and I don't know where they are coming from to try and fix them. So I need a general rewrite rule to remove them so the links won't ...
1
vote
0answers
524 views

HTTPS Authentication problem : Polipo

I use internet behind http proxy, and that requires authentication. I tried using polipo to bypass the authenticated proxy to 127.0.0.1:9134. Applying these settings to my browser, works fine for ...
0
votes
0answers
15 views

How to handle referral spam in Apache for best performance

I am wondering what is the best way to deal with sites like 4webmasters.org and traffic2money.com which are known to generate what is known as referral spam to the Apache web server. So there is ...
0
votes
0answers
80 views

Is it possible to give a different website based on client ip address with apache2 on debian?

I was wondering if it would be possible to serve a different web root directory to web clients based on their ip address. i.e. if your ip address is in 192.168.2.0/24 then you get /var/www/siteone/ ...