-2
votes
1answer
60 views

Apache Redirect to another folder, both within and outside document root [closed]

I've recently set up a home web/media server and having a few difficulties with a few of the settings. It's working fine for serving webpages etc but I've now reorganised the structure of the main ...
1
vote
1answer
660 views

Windows Active Directory Authentication and XAMPP Apache server [closed]

I installed XAMPP server in my Windows 2008 server and I want to restrict access to htdocs folder so only users in active directory could see my intranet website. I enabled following modules in ...
1
vote
1answer
161 views

Accessing a directory with htaccess gives a 500 error

I have installed the Xamp server in my Windows machine. I have placed the follwing .htaccess file in a directory : # Original # If you modify this file then change the above line to: # Modified ...
1
vote
1answer
214 views

Pointing Sub domain of one website to sub folder of another website

I have a domain example.com pointing to Linux AWS. I also have demo.example.com which i need to point to /htdocs/c5 of example2.com on Windows Server running XAMPP. My Findings Used A record of ...
3
votes
1answer
12k views

How should I use the <If> directive in .htaccess?

I'm trying to add a conditional statement using Apache's If directive in my .htaccess file. I have referenced this page http://httpd.apache.org/docs/trunk/mod/core.html#if but it doesn't elaborate ...
0
votes
1answer
800 views

How to use RewriteRule within .htaccess on xampplite?

I am using .htaccess file to enable url rewrite. Options +FollowSymlinks RewriteEngine on DirectorySlash off Options -Indexes RewriteRule ^(.*)$ index\.php [NC] It works as it should on the ...