Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a folder on my server called john. Inside this folder is an application I am working on.

I have a self signed cert installed.

if I go to it works.

I have an .htaccess that redirects all request that don't begin with either the words john or julian to /john:

RewriteCond %{REQUEST_URI} !^/(john|julian).*
RewriteRule ^(.*)$ john/$1 [L]

Now if I go to a non SSL page like the page is loaded (the URL is not redirected).

However if I go to an ssl page like I get a "404 Not found" error.

Any idea what would cause this?

share|improve this question

1 Answer 1

I figured out what the problem was. I needed to change AllowOverride from none to All in my /etc/apache2/sites-available/default-ssl file.

share|improve this answer

Your Answer


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.