homepage Welcome to WebmasterWorld Guest from 54.166.113.249
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
help .htaccess:)
Strega

10+ Year Member



 
Msg#: 68 posted 5:43 pm on Dec 7, 2002 (gmt 0)

Ciao:)
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:

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

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!
Strega®

*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]

 

andreasfriedrich

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 68 posted 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.

Andreas

Strega

10+ Year Member



 
Msg#: 68 posted 6:10 pm on Dec 7, 2002 (gmt 0)

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

jdMorgan

WebmasterWorld Senior Member jdmorgan us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 68 posted 7:34 pm on Dec 8, 2002 (gmt 0)

Strega,

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.

Jim

andreasfriedrich

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 68 posted 7:38 pm on Dec 8, 2002 (gmt 0)

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

Strega

10+ Year Member



 
Msg#: 68 posted 3:54 pm on Dec 10, 2002 (gmt 0)

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

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