As the installation finished I was instructed to log in as the administrator, go to the administer >> site configuration >> clean urls section of the administrative interface, and look for the paragraph that reads as follows: <some text>.
There is nothing on the page other than a radio box, a notice that my current configuration does not support clean URLs, and no paragraph or option to run the clean URL test.
I must have missed something but I don't know what.
Thanks,
Rich
There is nothing on the page other than a radio box, a notice that my current configuration does not support clean URLs, and no paragraph or option to run the clean URL test.
The test is run automatically AFAIK. To test yourself go to http://yoursite.com/user If that matches http://yoursite.com/?q=user then you have Clean URL support, but if not, then not.
HTH
On Sun, 5 Sep 2010, Fred Jones wrote:
The test is run automatically AFAIK. To test yourself go to http://yoursite.com/user If that matches http://yoursite.com/?q=user then you have Clean URL support, but if not, then not.
Fred,
Well, apparently there is not clean URL support my server. It's not a big deal now since I'm installing locally to learn Drupal and modify my site before it goes live.
Thanks,
Rich
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.
-Don-
On 9/5/2010 1:06 PM, Rich Shepard wrote:
On Sun, 5 Sep 2010, Fred Jones wrote:
The test is run automatically AFAIK. To test yourself go to http://yoursite.com/user If that matches http://yoursite.com/?q=user then you have Clean URL support, but if not, then not.
Fred,
Well, apparently there is not clean URL support my server. It's not a bigdeal now since I'm installing locally to learn Drupal and modify my site before it goes live.
Thanks,
Rich
On Sun, 5 Sep 2010, Don wrote:
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.
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 ^(.*)$ http://www.example.com/$1 [L,R=301]
# RewriteCond %{HTTP_HOST} ^www.example.com$ [NC] # RewriteRule ^(.*)$ http://example.com/$1 [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
The other two are | ||AllowOverride All AccessFileName .htaccess| (http://drupal.org/node/15365) |which can be set differently depending on whether or not you want it site wide or per virtual host and I usually set FollowSymLink, though this node recommends a better way. http://drupal.org/node/656022 || Make sure you also run a page with phpinfo() to make sure the mod_rewrite module is actually loading.
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.
-Don-
|On 9/5/2010 2:19 PM, Rich Shepard wrote:
On Sun, 5 Sep 2010, Don wrote:
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.
Don,
This is a local (private) installation so I can learn Drupal and build mynew 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 ^(.*)$ http://www.example.com/$1 [L,R=301] # RewriteCond %{HTTP_HOST} ^www\.example\.com$ [NC] # RewriteRule ^(.*)$ http://example.com/$1 [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
On Sun, 5 Sep 2010, Don wrote:
The other two are | ||AllowOverride All AccessFileName .htaccess| (http://drupal.org/node/15365) |which can be set differently depending on whether or not you want it site wide or per virtual host and I usually set FollowSymLink, though this node recommends a better way. http://drupal.org/node/656022 ||
Thanks, Don.
Make sure you also run a page with phpinfo() to make sure the mod_rewrite module is actually loading.
For reasons I don't know, that won't run here. Sigh. It should, but it doesn't. I'm not enough of a SysAdmin to fix it myself.
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.
I'll use the path module. That seems to be a better long-term solution, but I did make the changes suggested in the URLs you provided.
Rich
Um, probably seems like a simple question, but you've restart apache each time, right? I've certainly forgotten enough times. apachectl graceful or /etc/init.d/httpd restart on Redhat.
-Don-
On 9/5/2010 3:54 PM, Rich Shepard wrote:
On Sun, 5 Sep 2010, Don wrote:
The other two are | ||AllowOverride All AccessFileName .htaccess| (http://drupal.org/node/15365) |which can be set differently depending on whether or not you want it site wide or per virtual host and I usually set FollowSymLink, though this node recommends a better way. http://drupal.org/node/656022 ||
Thanks, Don.Make sure you also run a page with phpinfo() to make sure the mod_rewrite module is actually loading.
For reasons I don't know, that won't run here. Sigh. It should, but itdoesn't. I'm not enough of a SysAdmin to fix it myself.
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.
I'll use the path module. That seems to be a better long-term solution,but I did make the changes suggested in the URLs you provided.
Rich
On Sun, 5 Sep 2010, Don wrote:
Um, probably seems like a simple question, but you've restart apache each time, right? I've certainly forgotten enough times. apachectl graceful or /etc/init.d/httpd restart on Redhat.
Don,
Yes, I've run /etc/rc.d/rc.httpd restart (on Slackware), but all I see is a blank page with 'Done' in the status line.
Thanks,
Rich