Jump to:

23486 Posts in 18995 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » "index.php/" problem.

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

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

Page: 1
Go to End
Author Topic: 283 Views
  • Lukey
    Community Member
    1 Post

    "index.php/" problem. Link to this post

    I've searched everywhere for a solution and have searched these forms, too. None of the solutions seem to work for me

    I've installed SS on an XAMPP server in the folder: "xavient/silverstripe/" so the full URL is:




    initially, the index.php/ doesn't show. but as soon as I click one of the menu items, it appears like so: "index.php/about-us/"

    here are the contents of my .htaccess file.


    <Files *.ss>
       Order deny,allow
       Deny from all
       Allow from

    <Files web.config>
       Order deny,allow
       Deny from all

    # This denies access to all yml files, since developers might include sensitive
    # information in them. See the docs for work-arounds to serve some yaml files
    <Files *.yml>
       Order allow,deny
       Deny from all

    ErrorDocument 404 /assets/error-404.html
    ErrorDocument 500 /assets/error-500.html

    <IfModule mod_alias.c>
       RedirectMatch 403 /silverstripe-cache(/|$)
       RedirectMatch 403 /vendor(/|$)
       RedirectMatch 403 /composer\.(json|lock)

    <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase '/xavient/silverstripe/'

       RewriteCond %{REQUEST_URI} ^(.*)$
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_URI} !\.php$
       RewriteRule .* framework/main.php?url=%1&%{QUERY_STRING} [L]

    Any suggestions? D;

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.