homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

help .htaccess:)

 5:43 pm on Dec 7, 2002 (gmt 0)

I am new at this forum and new also
to all:)
I need help
i am try to put this in my web host

RewriteEngine on
RewriteCond %{HTTP_REFERER}!^$
RewriteCond %{HTTP_REFERER}!^http://(www\.)?somedomain.com.*$ [NC]
RewriteRule \.(gif¦jpg)$ [somedomain.com...] [R,L]

but i take always error 500
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@dollzbystrega.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.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request

and in my error log come out this:

public_html/.htaccess: Invalid command 'RewriteEngine',
perhaps mis-spelled or defined by a module not included in the server

I have try to upload this htaccess.txt in all places
but always i take the error:(

Can be a problem with my cgi-permission?
What i have to do for make work this code?:)
Thank you very much!

*Sorry my english is still under construction ^_^*

[edited by: jatar_k at 7:14 pm (utc) on Dec. 9, 2002]
[edit reason] removed specific site [/edit]



 6:03 pm on Dec 7, 2002 (gmt 0)

Welcome to WebmasterWorld [webmasterworld.com] Strega.

If Apache does not recognize the RewriteEngine directive then mod_rewrite is not available. It needs to be loaded in Apache´s configuration file.



 6:10 pm on Dec 7, 2002 (gmt 0)

Thanks Andreas:)
Do you know how i can make it?


 7:34 pm on Dec 8, 2002 (gmt 0)


If you run your own server, then follow the instructions in Apache's documentation [httpd.apache.org] to add the mod_rewrite module.

If you pay someone else for web-hosting, then you can ask them to add it. If they won't add it, then you may need to find a better hosting service.



 7:38 pm on Dec 8, 2002 (gmt 0)

Totally missed that thread. Thanks for answering the question Jim.


 3:54 pm on Dec 10, 2002 (gmt 0)

Thank you very much Jim!:)
I am writing to my host...
Have a beautiful Chrismas!

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved