<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
The other two are <br>
<code> </code><code>AllowOverride All<br>
AccessFileName .htaccess</code><br>
(<a class="moz-txt-link-freetext" href="http://drupal.org/node/15365">http://drupal.org/node/15365</a>)<br>
<code>which can be set differently depending on whether or not you
want it site wide or per virtual host <br>
and I usually set FollowSymLink, though this node recommends a
better way.<br>
<a class="moz-txt-link-freetext" href="http://drupal.org/node/656022">http://drupal.org/node/656022</a><br>
</code><code><br>
Make sure you also run a page with phpinfo() to make sure the
mod_rewrite module is actually loading.<br>
<br>
Sorry I'm not more detailed, I'm usually surprised when it works,
so formulas may vary. I've included link to smarter people than
me.<br>
<br>
-Don-<br>
<br>
</code>On 9/5/2010 2:19 PM, Rich Shepard wrote:
<blockquote
cite="mid:alpine.LNX.2.00.1009051113490.10680@salmo.appl-ecosys.com"
type="cite">
<pre wrap="">On Sun, 5 Sep 2010, Don wrote:
</pre>
<blockquote type="cite">
<pre wrap=""> I usually have to make 2 changes in my httpd.conf file on a new install
to get clean urls to work. The directions linked to on the page work well,
ask if you get stuck.
</pre>
</blockquote>
<pre wrap="">
Don,
This is a local (private) installation so I can learn Drupal and build my
new site before transferring everything to the live server.
In /etc/httpd/httpd.conf is the line:
LoadModule rewrite_module lib/httpd/modules/mod_rewrite.so
so that seems to be enabled for the server.
In /var/www/htdocs/drupal-sqlite/.htaccess I see:
<IfModule mod_rewrite.c>
RewriteEngine on
# RewriteCond %{HTTP_HOST} ^example\.com$ [NC]
# RewriteRule ^(.*)$ <a class="moz-txt-link-freetext" href="http://www.example.com/$1">http://www.example.com/$1</a> [L,R=301]
# RewriteCond %{HTTP_HOST} ^www\.example\.com$ [NC]
# RewriteRule ^(.*)$ <a class="moz-txt-link-freetext" href="http://example.com/$1">http://example.com/$1</a> [L,R=301]
# Rewrite URLs of the form 'x' to the form 'index.php?q=x'.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
</IfModule>
Should any of the above be changed?
Guidance appreciated.
Rich
</pre>
</blockquote>
<br>
</body>
</html>