Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7183237
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T17:56:19+00:00 2026-05-28T17:56:19+00:00

My .htaccess file isn’t working. I have checked that it is in the root

  • 0

My .htaccess file isn’t working. I have checked that it is in the root directory. I also verified that it’s code is correct. When I type random letters/numbers into the .htaccess I do not get a 500 error. When i open my apache error log, it gives me this error:

[Mon Jan 16 20:28:37 2012] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Jan 16 20:28:41 2012] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 16 20:28:41 2012] [notice] Digest: done
[Mon Jan 16 20:28:44 2012] [notice] Apache/2.2.14 (Unix) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l PHP/5.3.1 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations

I don’t know what to do.

http.conf:

<Directory />
Options FollowSymLinks
AllowOverride All
Order deny,allow
Deny from all
</Directory>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T17:56:20+00:00Added an answer on May 28, 2026 at 5:56 pm

    There are a few possible reasons your random, invalid, .htaccess file would not cause an http error 500 (internal server error):

    • Incorrect file name. It must be .htaccess. The first character is a dot. The last character is a lower case ‘s’. Hidden extensions might cause problems because an incorrect file name could appear to be correct.
    • The file location is incorrect. Try placing the file next to your html files, in the same folder. If that works, you could move the file up one folder and try again.
    • The Apache configuration does not allow for .htaccess files. If the configuration option AllowOverride is set to None in the apache configuration files (for the specified domain), then Apache will not look for any .htaccess files.

    Also note that .htaccess files are ignored when you access your files using the file:// protocol.

    Update

    The paths used in .htaccess refer to file system paths, not url paths. Based on the .htaccess content you posted, nobody has access to any files on your webserver. I would suggest something like:

    <Directory />
        # Security first, deny everything that's not explicitly allowed.
        AllowOverride None
        Order deny, allow
        Deny from all
    </Directory>
    
    <Directory /path/to/webroot>
        # This is the part that should be accessible
        Options FollowSymLinks
        AllowOverride All
        Order allow, deny
        Allow from all
    </Directory>
    

    Your .htaccess file should be in /path/to/webroot
    Note that you should change /path/to/webroot to something sensible that matches your file system.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an .htaccess file that is not working properly. And it used to.
I have a RewriteRule in a .htaccess file that isn't doing anything. How do
I have a .htaccess file in the root of a website: /var/www/mywebsite/htdocs/.htacess and I
I have this .htaccess file in WordPress. It's located at /public_html/ (web root). I
I have the following .htaccess file in a directory: RewriteEngine On RewriteCond %{HTTPS} !=on
I have the following .htaccess file in my root: Options +FollowSymlinks RewriteEngine on RewriteBase
In my .htaccess file I have defined following rule, RewriteRule t/([^.]+)/$ /videos/tag.php?tag=$1 [QSA] The
In my .htaccess file I have defined the following rule to make my register
In my .htaccess file I have a set of rules as follows: RewriteRule ^dir/page1$
Say I have a htaccess file shared by dev.server and server.site.com. The first domain

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.