Forum Moderators: phranque

Message Too Old, No Replies

RewriteEngine problem in htaccess

RewriteEngine problem in htaccess file

         

sheebatg

5:15 am on Jun 14, 2007 (gmt 0)

10+ Year Member



when i run the folder that includes htaccess file, the following error is occurring.

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

htaccess content is

Options +FollowSymlinks
RewriteEngine On
RewriteRule ^itnepal http://example.com/~unni/mine/modules/blogs/view_blog.php?bid=1&uid=1 [nc]
RewriteRule ^IT http://example.com/~unni/mine/modules/blogs/view_blog.php?bid=22&uid=11529 [nc]

pls help me to find out the reason for this error.

Sheeba

[edited by: jdMorgan at 5:34 am (utc) on June 14, 2007]
[edit reason] example.com [/edit]

jdMorgan

5:32 am on Jun 14, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



More information about this error may be available in the server error log.

Please tell us what you find in the server error log, correlated with your access to the .htaccess file's folder by the timestamp in the error log. Generally, the error log will be very very useful to find out what the problem is.

Also, at bit of background please... Are these new rules? Is it a new hosting account? What changed recently? Do you have other rewrite rules that work OK?

Jim

sheebatg

5:49 am on Jun 14, 2007 (gmt 0)

10+ Year Member



Hi,
Thanks for your quick replay.

I am in first time to use htaccess. Actually i placed the file in public_html folder in our local server. I mean the rules that if someone type the subdomain with their blog address, the page should redirect to the page i mentioned.
Also our local server's name is [sss.example.com...]
Acutally this is a sub domain...., so can i call another subdomain of this?

Also i will give u the content in log file later

sheeba