Tagged Questions
1
vote
1answer
18 views
Automatic redirection from http to https with .htaccess authentication in virtual hosting
Hi I have configured Virtual host on apache with .htaccess authentication with SSL. It's working fine when I typed url https://www.example.com:9004/test.php but when I typed ...
0
votes
1answer
76 views
Apache server not able to read cookies from Browser
I have developed a login authentication page using cookies (with spring security) where for the first time, the user will need to get itself authenticated. Once the user gets successfully ...
2
votes
3answers
179 views
How to remove /index.html
How to make redirect /index.html -> / in Apache?
Redirect /index.html http://domain-name.com/
Is causeing infinite loop when opening home page.
1
vote
1answer
2k views
What is wrong with this Apache httpd.conf file for vhosts?
What is wrong here?
NameVirtualHost *:80
<VirtualHost *:80>
ServerName www.apples.co.uk
DocumentRoot /var/www/apples.co.uk
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.apples\.co\.uk$ [NC]
...