codrgi Posted April 26, 2009 Share Posted April 26, 2009 How do i solve this? it takes me to my site and the pics and everything dosen't show, it also does it for any .php file shown in the first directory example www.website.com/index.php www.website.com/login.php redirect or give 404 msg when ppl visit the below url www.website.com/index/ www.website.com/login/ how do i solve this? Quote Link to comment https://forums.phpfreaks.com/topic/155750-how-to-fix-this/ Share on other sites More sharing options...
mikesta707 Posted April 26, 2009 Share Posted April 26, 2009 www.website.com/index/ www.website.com/login/ those are pointing to directories (index and login directory respectively) on your webserver, instead of the pages themselves. As far your problem.. make sure your supporting files (IE images, include pages, etc.) are in the same directory, or whatever directories they are supposed to be in. I hope that helps... i really have no clue what you are trying to accomplish. please provide more details on your problem Quote Link to comment https://forums.phpfreaks.com/topic/155750-how-to-fix-this/#findComment-819839 Share on other sites More sharing options...
codrgi Posted April 26, 2009 Author Share Posted April 26, 2009 example www.website.com/index.php www.website.com/login.php redirect or give 404 msg when ppl visit the below url www.website.com/index/ www.website.com/login/ The index and login are .php files, i dont have any directorys named index or login but each time i delete the .php from the login.php and replace is with login/ to make www.website.com/login/ it still finds the file and uses it, all i want to do is redirect or show a 404 msg to anyone that goes there, it may be inside the php.ini or conf file but i dont know where to edit to solve this, which is why i made this post Quote Link to comment https://forums.phpfreaks.com/topic/155750-how-to-fix-this/#findComment-819867 Share on other sites More sharing options...
ohdang888 Posted April 26, 2009 Share Posted April 26, 2009 its probably a setting in your conf file that "prettifies" urls Quote Link to comment https://forums.phpfreaks.com/topic/155750-how-to-fix-this/#findComment-819881 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.