how can i make my server link to be redirected to the index.php
i hve a web page at http://150.140.210.79:2005/~mahmoh
the thing is that if i make the index.html to index.php the whenever i
go to the url above
i have to add the extra /index.php
can i get rid of that? is there a way
Hi!
Offtopic. :-\
i hve a web page at http://150.140.210.79:2005/~mahmoh
the thing is that if i make the index.html to index.php the
whenever i go to the url above. i have to add the extra /index.php
can i get rid of that? is there a way?
add index.php to DirectoryIndex directive
Maher Mohamed wrote:
how can i make my server link to be redirected to the index.php
i hve a web page at http://150.140.210.79:2005/~mahmoh
the thing is that if i make the index.html to index.php the whenever i
go to the url above
i have to add the extra /index.php
can i get rid
Maher Mohamed wrote:
how can i make my server link to be redirected to the index.php
i hve a web page at http://150.140.210.79:2005/~mahmoh
the thing is that if i make the index.html to index.php the whenever i
go to the url above
i have to add the extra /index.php
can i get rid
If you run apache just add index.php to DirectoryIndex directive at the
httpd.conf and it should work fine.
example:
IfModule mod_dir.c
DirectoryIndex index.html index.wml index.cgi index.shtml index.jsp
index.js index.jp index.php4 index.php3 index.php index.phtml index.htm
default.htm