i have build website on core php.. , works fine me on localhost (wamp server). today uploaded online , getting error :-
http error 404.0 - not found resource looking has been removed, had name changed, or temporarily unavailable.
i using htaccess on site , here htaccess file code
php_flag display_errors off php_flag log_errors on php_value error_log logs/phperror.log php_flag html_errors off php_flag ignore_repeated_errors off php_flag ignore_repeated_source off php_flag report_memleaks on php_flag track_errors on php_value docref_root 0 php_value docref_ext 0 php_value error_reporting 6143 php_value log_errors_max_len 0 php_value register_globals 0 php_value session.auto_start 0 serversignature off defaultlanguage en adddefaultcharset utf-8 addcharset utf-8 .css indexoptions +fancyindexing options +followsymlinks -indexes -execcgi addhandler application/x-httpd-php .htm addhandler application/x-httpd-php .html <ifmodule mod_expires.c> expiresactive on expiresbytype image/gif a2592000 expiresbytype image/png a2592000 expiresbytype image/jpeg a2592000 expiresbytype image/x-icon a2592000 expiresbytype application/pdf a2592000 expiresbytype application/x-javascript a2592000 expiresbytype text/plain a2592000 expiresbytype text/css a10800 </ifmodule> <ifmodule mod_rewrite.c> rewriteengine on rewriterule ^404$ 404.php rewriterule ^home$ index.php rewriterule ^login$ login.php </ifmodule> errordocument 403 /404.php errordocument 500 /404.php <filesmatch "\.php$"> order allow,deny deny </filesmatch> <filesmatch "^(index|404)\.php$"> order allow,deny allow </filesmatch> can me find out how can solve trouble? have tried contact hosting provider , answered me developer problem not hosting problem.. notice need enable "rewrite_module" use htaccess.. that? maybe can me this.. in advance
Comments
Post a Comment