Hello all!
Is index.php used for something?
With WAMP, localhost/index.php is not working properly.
Index.php in order that it cannot be used must be disabled?
If so, how?
Thanks,
Jose A.
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
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.
Hello all!
Is index.php used for something?
With WAMP, localhost/index.php is not working properly.
Index.php in order that it cannot be used must be disabled?
If so, how?
Thanks,
Jose A.
index.php is used to "fake" the URL rewriting that silverstripe requires.
So if you don't have mod_rewrite you can still access everything by using http://localhost/domain/index.php/urlsegment (i think that is the format, but since I use url rewriting i never see this)
Thank you very much for your answer.
How can I do that I type www.dominio.com/index.php not run index.php, only www.dominio.com?
Should I use .htaccess?
How?
Thanks swaiba,
Regards
Jose A.
Sorry I don't understand the question...
I want to put in the browser
www.dominio.com/index.php
but then appear in the navigation bar:
www.dominio.com (without /index.php)
and therefore, of course, has not been execute index.php on the server.
That is, although I will type www.dominio.com/index.php the server only run www.dominio.com
You understand?
Sorry for my bad english.
Jose A.
doesn't sound like a problem then - if you have mod_rewrite on (which is seems like you do) then you have no need for index.php
I delete it after installation on mysites
Ahhhhhh .... Ok.
Then I'll delete it.
Thank you very much for your time.
Regards,
Jose A.