Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

index.php showing up


Go to End


11 Posts   14439 Views

Avatar
camfindlay

Forum Moderator, 267 Posts

12 November 2014 at 8:05am

Just an fyi, if you look in the htaccess files you'll see all requests are routed via framework/main.php - the index.php is really just there incase rewrite support is not available on your particular install of Apache.

Avatar
shuey79

Community Member, 3 Posts

12 February 2015 at 7:19am

I removed the following from .htaccess and all works fine for me now.
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]

Avatar
wildflower1975

Community Member, 63 Posts

8 November 2016 at 2:15am

In your virtual hosts file /etc/apache2/sites-available/yoursite.conf

you might need this:

<Directory /var/www/yoursite>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>

the "AllowOverride All" is the important directive

Go to Top