2

I upgraded a server from Apache 2.2 to Apache 2.4

Now I can not access

www.example.org/ 

anymore

www.example.org/index.php

is working.

I have set

DirectoryIndex index.php

1 Answer 1

1

There was some problem with my rewrite config:

RewriteCond %{HTTP_HOST} ^www\.example\.com [NC]
RewriteRule ^(.*) $1 [L]

I replaced this by

RewriteCond %{HTTP_HOST} ^www\.example\.com [NC]
RewriteRule ^(.*) - [L]

and it works.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .