xenophobia Posted May 3, 2011 Share Posted May 3, 2011 Hi, I having a strange problem where out of sudden, my sub-pages was not running and shows up error 404, page not found. Note, it only happened on my sub-pages but not homepage. Meaning www.domain.com/site1 no problem, but www.domain.com/site1/subfolder will cause the error. How I fix it is very weird. I just go to C:\Inetpub\www\site1, rename the web.config to web1.config. Then rename it back to web.config, then my subpages works back. It doesn't matter what you rename, as long you did some changes on the web.config, it will work fine. How is that possible ? FYI, IIS 7.5 Joomla 1.5 MySQL 5 PHP 5.2 So my web.config is to enable the SEF URL for Joomla. So far I can't find any pattern that trigger this incident. Just wonder if there are anyone facing the same problem with me? Quote Link to comment https://forums.phpfreaks.com/topic/235392-webconfig-error/ Share on other sites More sharing options...
violet18smith Posted May 7, 2011 Share Posted May 7, 2011 Have you included web.config file in your project? You need to set the configuration string in the web.config file.. Renaming is not the solution. Quote Link to comment https://forums.phpfreaks.com/topic/235392-webconfig-error/#findComment-1211848 Share on other sites More sharing options...
xenophobia Posted May 10, 2011 Author Share Posted May 10, 2011 What do you mean by include web.config file in my project ? As I mentioned, I am running Joomla! CMS on my IIS 7.5 server. The web.config file is basically used for my URL Rewrite which produce a search engine friendly URL (SEF URL). Quote Link to comment https://forums.phpfreaks.com/topic/235392-webconfig-error/#findComment-1213173 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.