Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2001
    gulf of mexico

    mod_rewrite - htaccess - help

    folks. trying to get mod rewrite to work so we can convert cgi to html. We are on a RAQ3, and it seems the htaccess file is not working...

    even a basic htaccess with a redirect inside it does not work.. is there any info about getting htaccess to workin a raq3? or does anyone have any advice/help..


  2. #2
    Join Date
    Dec 2001
    gulf of mexico
    access.conf has this:

    Options None
    AllowOverride None
    AuthFailDelay 2000000

    # Note that from this point forward you must specifically allow
    # particular features to be enabled - so if something's not working as
    # you might expect, make sure that you have specifically enabled it
    # below.

    # This should be changed to whatever you set DocumentRoot to.

    <Directory /home/sites/>
    ErrorDocument 400 /Error_Docs/400.html
    ErrorDocument 401 /Error_Docs/401.html
    ErrorDocument 403 /Error_Docs/403.html
    ErrorDocument 404 /Error_Docs/404.html
    ErrorDocument 500 /Error_Docs/500.html
    ErrorDocument 501 /Error_Docs/501.html
    ErrorDocument 502 /Error_Docs/502.html
    ErrorDocument 503 /Error_Docs/503.html

    # This may also be "None", "All", or any combination of "Indexes",
    # "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".

    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.

    Options Indexes FollowSymLinks Includes MultiViews

    # This controls which options the .htaccess files in directories can
    # override. Can also be "All", or any combination of "Options", "FileInfo",
    # "AuthConfig", and "Limit"

    AllowOverride All

    # ignore .ht*
    <Files ".ht*">
    allow from all

    # Controls who can get stuff from this server.

    order allow,deny
    allow from all

    AuthFailDelay 2000000

    # be more restrictive within a site
    <Directory /home/sites/*/>
    Options -FollowSymLinks +SymLinksIfOwnerMatch

    # @@ServerRoot@@/cgi-bin should be changed to whatever your ScriptAliased
    # CGI directory exists, if you have that configured.

    #<Directory /home/httpd/cgi-bin>
    #AllowOverride None
    #Options ExecCGI

    # Allow server status reports, with the URL of http://servername/server-status
    # Change the "" to match your domain to enable.

    #<Location /server-status>
    #SetHandler server-status

    #order deny,allow
    #deny from all
    #allow from

    # There have been reports of people trying to abuse an old bug from pre-1.1
    # days. This bug involved a CGI script distributed as a part of Apache.
    # By uncommenting these lines you can redirect these attacks to a logging
    # script on Or, you can record them yourself, using the script
    # support/phf_abuse_log.cgi.

    #<Location /cgi-bin/phf*>
    #deny from all
    #ErrorDocument 403
    what needs to be changed in order for htaccess to work, send help

  3. #3
    Did you install the mysql_auth module in apache? I have seen in other posts that all htaccess are override by this module, so if you want to use a htaccess auth and you have it installed you need to add this line to htaccess:

    AuthMySQL off
    Auth_MySQL off

    Also remember to always upload .htaccess files in Ascii Mode

    You also might look at this thread
    Last edited by D8Mike; 07-11-2003 at 10:28 AM.

  4. #4
    Join Date
    Jun 2001
    When you chaned the AllowOveride Command to All

    did you restart apache?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts