Forums

No .htaccess but have access to httpd.conf (2 posts)

  1. scraulb
    Member
    Posted 2 years ago #

    Trying to enable permalinks but my server does not have .htaccess enabled.

    When I try to put this into my .httpd.conf file it fails:
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /blog/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php [L]

    Failure message:
    RewriteBase: only valid in per-directory config files

    What's the magic? Sorry, I don't understand apache.

    Thanks for any help.

  2. This is a *nix based server and not Windows, I'm assuming.

    What happens if you try to make a .htaccess file? If you have access to httpd.conf you should have access to the other... You may need to mess around with the notes here: http://codex.wordpress.org/Using_Permalinks

Topic Closed

This topic has been closed to new replies.

About this Topic