Not logged in. · Lost password · Register
Forum: General Help and Support Server Setup RSS
Apache2 with SSL doesnt recognise my .htaccess file
Avatar
moby007 #1
Member since Aug 2007 · 16 posts
Group memberships: Members
Show profile · Link to this post
Subject: Apache2 with SSL doesnt recognise my .htaccess file
Hi, it drives me crazy :-)

I'm running Apache2 on Ubuntu8.04 with only 2 sites enabled. One site with SSL and the other without! Actually everything works fine, because i can access my wiki through https and get redirected to https when i use http (my wiki shall only be available with SSL). Everything is fine till now!

But i can't enable my .htaccess files on the SSL site (they just don't get executed). The .htaccess files are correctly recognised under http, but not https. I tested it with a simple Basic-Auth.

Is it a obvious Apache2 misconfiguration? The error-log does not return anything.

Regards
Stefan Weidner
Avatar
moby007 #2
Member since Aug 2007 · 16 posts
Group memberships: Members
Show profile · Link to this post
Yesterday i spent hours searching for a solution ... today i found it after 1 min googling :)

<Directory /var/www/https>
        ...
        AllowOverride All
        ...
</Directory>
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2020-04-06, 05:13:51 (UTC +02:00)