21295 Posts in 5734 Topics by 2602 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 336 Views |
-
Is index.php used for something?

4 February 2012 at 12:40am
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. -
Re: Is index.php used for something?

4 February 2012 at 12:43am
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) -
Re: Is index.php used for something?

4 February 2012 at 2:09am
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. -
Re: Is index.php used for something?

4 February 2012 at 2:25am
Sorry I don't understand the question...
-
Re: Is index.php used for something?

4 February 2012 at 2:42am
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.
-
Re: Is index.php used for something?

4 February 2012 at 2:47am
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 -
Re: Is index.php used for something?

4 February 2012 at 4:23am
Ahhhhhh .... Ok.
Then I'll delete it.Thank you very much for your time.
Regards,
Jose A.
| 336 Views | ||
|
Page:
1
|
Go to Top |


