Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
litespeed_wiki:config:understanding_404 [2018/05/30 14:09]
Lisa Clarke Proofreading and Reformatting
litespeed_wiki:config:understanding_404 [2018/06/14 15:01]
Jackson Zhang [DNS Cache]
Line 45: Line 45:
 If you migrate your page to a new server, change the NS servers for the domain and delete the content on the old server, it's still possible to see Error 404. That is because most ISPs (Internet Service Providers) have DNS caching in place, and your page is still loading from the old location. Its a good practice not to delete the content from the old server for 3-4 days to avoid such an issue. If you migrate your page to a new server, change the NS servers for the domain and delete the content on the old server, it's still possible to see Error 404. That is because most ISPs (Internet Service Providers) have DNS caching in place, and your page is still loading from the old location. Its a good practice not to delete the content from the old server for 3-4 days to avoid such an issue.
  
 +===== Missing /cgi-bin/ folder in document root =====
  
 +In a cpanel environment,​ under /​home/​USER1/​public_html,​ there is no cgi-bin folder normally. However, in cpanel apache virtual host setting, you will find a ScriptAlias setting like "​ScriptAlias /cgi-bin/ /​home/​USER1/​public_html/​cgi-bin/"​. If there is a redirect rule in document root .htaccess, apache will work ok due to the ScriptAlias setting but LSWS will return 404 due to the /cgi-bin/ folder doesn'​t exist. Please check [[litespeed_wiki:​config:​redirect_cgi-bin_no_exist_404|this wiki]] on how to fix it.
  • Admin
  • Last modified: 2018/06/14 16:26
  • by Lisa Clarke