Link to home
Start Free TrialLog in
Avatar of rdno
rdno

asked on

.htaccess file blocks virtual website

Hi,

I have an odd problem with my apache.
When I put an empty .htaccess in mu virtual web site the site isn't accesible at all.

Even if I use a working htaccess file still the same problem occurs.

What can be the problem here?

greetz

Raymond
ASKER CERTIFIED SOLUTION
Avatar of andreif
andreif
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Check the error_log as recommended by andreif.

If you copied over the working htaccess file, make sure the AuthUserFile is pointing the a valid file.  And try to use "Sarisfy any" first.  If it works, then remove the Satisft directive.

Again, the error log should be helpful.
Avatar of rdno
rdno

ASKER

I posted a reply yesterday, but an error occured :o(

I don't use authentication in the .htaccess file, but only rewrite rules. That was the major problem. in the site the option FollowSymLinks was not enabled which is needed by mod_rewrite.
The error log showed this. I though I looked at it already, but I must have skipped this error.

greets,

Raymond

p.s. the apache text message "access denied" appeared.