All Products 
Username / Customer#
Password
Log In
 Hi,  |  Log Out
  • Site Search
  • Domain Search
  • WHOIS Domain Check
24/7 Support: (480) 505-8877
Hablamos Español
9 AM to 9 PM IST
7 days a week
Go Daddy Support

Search help articles, forums, and discussion groups

mod_rewrite error

Viewing post 1 to 5 (5 total posts)
Profile picture of blackbook

blackbook said 1 year, 1 month ago:

I am trying to install a membership script and its giving me this error: Seems your webhosting does not support mod_rewrite rules required by aMember. There may be several reasons: Your webhosting has no mod_rewrite module enabled. Contact tech support to get it enabled
Your webhosting uses software different from Apache webserver. It requires to convert rewrite rules located in amember/.htaccess file into the webserver native format. Contact webhosting tech for details.
You may continue aMember installation, but aMember will not work correctly until mod_rewrite issues are resolved.

please help

Profile picture of Sherrod

GoDaddy Expert sherrod said 1 year, 1 month ago:

@blackbook,

It sounds like you are simply needing to enable mod_rewrite. The following should assist in this:

How do I use mod_rewrite?

Sherrod

Profile picture of blackbook

blackbook said 1 year, 1 month ago:

this is my .htaccess that is giving an error:
# Sample Nginx rules configuration:
# aMember rules (replace /amember to actual aMember Pro path from site root)
#
# location ~* ^/amember/.*.(js|ico|gif|jpg|png|css|swf|csv)$ {}
# location ~* ^/amember/setup/index.php$ { try_files not-existing-file @php; }
# location ~* ^/amember/js.php { try_files not-exiting-file @php; }
# location ~* ^/amember/index.php$ { try_files not-existing-file @php; }
# location ~* ^/amember/public.php$ { try_files not-existing-file @php; }
#
# location ~* ^/amember/public { rewrite ^.*$ /amember/public.php; }
# location ~* ^/amember/setup { rewrite ^.*$ /amember/setup/index.php; }
# location ~* ^/amember { rewrite ^.*$ /amember/index.php; }
#
# you must already have something like that in your nginx configuration:
#
# location ~ .php$ {
# try_files not-existing-file @php;
# }
# location @php {
# fastcgi_pass 127.0.0.1:9000;
# include fastcgi_params;
# }
#
# it is necessary to have @php section, as it is referred by aMember rules, and
# it must be located at bottom
#
#
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^public public.php [L]
RewriteRule ^js.php js.php [L]
RewriteRule !.(js|ico|gif|jpg|png|css|swf|csv|html)$ index.php
</IfModule>

<IfModule mod_php5.c>
# php_flag magic_quotes_gpc off
</IfModule>

where is the problem.please help

Profile picture of blackbook

blackbook said 1 year, 1 month ago:

is anyone goind to attend to my problem

Profile picture of ChrisG

GoDaddy Expert chrisg said 1 year, 1 month ago:

@blackbook,

My apologies for the delay. I have taken a moment to look over the script example you have provided with a member of our Hosting team. Currently, we can see no issues within the script that would be preventing you from enabling Mod_Rewrite in a Linux shared hosting environment.

If you are still encountering issues with installation of this application that indicate your Mod_Rewrite modules are disabled, could you please provide the specific URL address on your live site that is generating this error. With that URL address, we should be able to further diagnose the issue.

Christopher G.

Add a reply:

You will auto join this group when you reply to this topic.

When posting about a technical issue, please be sure to include as many details as possible, such as your domain name, related URLs and other pertinent information. This consideration will allow us to better understand the situation and quickly assist you.