0
votes
1answer
23 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
0answers
96 views

Rewrite module won't work on Xubuntu/Apache

I have a Xubuntu (12.10) machine with Apache and PHP servers from the apt-get repository. I need to create a simple REST service in PHP and therefore need to set up .htaccess so that arbitrary URLs ...
0
votes
1answer
155 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?
2
votes
1answer
241 views

How may I distinguish encryption algorithm of htpasswd?

I have an apache web server running on Debian Linux and I secure a certain directory with htaccess. I have no history or knowledge how the .htpasswd file was created. Apache documentations says that ...
0
votes
1answer
431 views

control apache referrer to restrict downloads in htaccess file

i want to restrict a file server just for people come from an specific URL: http://graymind.ir how should i config .htaccess file to do this. sorry but i didn't find an answer in sites search.
1
vote
1answer
171 views

Where would I find where an .htaccess file is located and being used on a Mac OS X Lion server that sets Basic Auth on an Apache server?

I've installed some software, namely, a continuous integration (CI) server (Jenkins) on a Mac Mini running Lion Server. The server, by default, runs from port 8080 on local host via the url: ...
1
vote
2answers
1k views

RewriteRule to cause subdomain to load another DocumentRoot?

I could sure use a little help with what I am trying to do with a RewriteRule in .htaccess: ...to causes URLs using our sharpedge. subdomain to auto-load from the Internet_IE directory - one level ...
2
votes
1answer
2k views

conditional DirectoryIndex based on IP address, using .htaccess

I've got this in httpd.conf: <VirtualHost xx.xxx.xx.xxx> Options All +ExecCGI ServerAdmin hostmaster@thehost.com DocumentRoot /var/www/html/domain.com ServerName dl.domain.org ...
3
votes
1answer
247 views

How to redirect traffic from subdomain to main domain

I have a demo.domain.com and domain.com they both show the same information and point to the same folder. How can I redirect all demo.domain.com visitors to domain.com?
1
vote
1answer
127 views

IPv6 address changed after upgrade. Why? and how can I harden my .htaccess against this?

I noticed in my local webserver logs that the IPv6 address of my desktop changed after upgrading to Kubuntu 12.04. inet6 addr: ...
2
votes
1answer
606 views

403 forbidden issue - .htaccess

I am getting 'Forbidden' 403 problem with my website. Earlier today it worked. The only thing I did was try to access other folders (eg bin). I checked permissions, and it all seems to be looking ...
5
votes
2answers
5k views

Localhost .htaccess not working on Ubuntu

I have been trying to get my .htaccess file to work on my localhost. I know that the file works because it is on my server and works. However it doesn't seem to be working locally. I have followed ...