Total members 11894 |It is currently Thu Nov 21, 2024 5:24 pm Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





Am using easyphp8 and i was trying to do mod URL rewriting .but i had the following error 500 server not found .
Code:
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator

After one day i found the solution . You have to go to httpd.conf file in your easyphp and uncomment the following lines :
LoadModule speling_module modules/mod_speling.so
LoadModule rewrite_module modules/mod_rewrite.so
AddModule mod_rewrite.c

uncommented it

and restart easyphp and apache server

it works fine now :yahoo:
.htaccess file contain
RewriteEngine on
RewriteRule ^old.html$ new.html



_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time

it should say:

500 internal server error

not [500 server not found]

anyway the problem is that you have to not use the .htaccess files for manipulating php configurations, it's obligatory to use the php.ini file instead.


Author:
Newbie
User avatar Posts: 9
Have thanks: 0 time

thanks for reply , , ,

am using .htaccess for url rewriting ,php.ini not related to the rewriting here :think:

_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time
Post new topic Reply to topic  [ 3 posts ] 

  Related Posts  to : Easyphp url rewriting 500 server error
 cookies &rewriting URL     -  
 Sql server or windows server question?     -  
 ERROR     -  
 error in code     -  
 Check DNS error     -  
 skymiles error     -  
 Deliberate Error     -  
 Java error     -  
 Error handling in AJAX     -  
 Invalid Argument error in IE7     -  









Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com