Stupid question, I'm sure, but did you modify the /sites/default/settings.php 
file to reflect the proper base url of your installation?

J


----- Start Original Message -----
From: Doug Boyd <[EMAIL PROTECTED]>
To: [email protected]
Subject: [clug-talk] Drupal .htaccess error

> Hi,
> 
> I decided to give drupal a try on Fedora Core 5. 
> 
> After configuring apache and mysql and unpacking drupal I receive an error 
> when visiting http://localhost
> 
> ERROR
> 
> Forbidden
> You don't have permission to access / on this server.
> 
> Looks like an issue with .htaccess ....
> 
> LOGS
> 
> tail -2000 /var/log/messages
> 
> 2 scontext=system_u:system_r:httpd_t:s0 
> tcontext=user_u:object_r:user_home_t:s0 tclass=file
> Apr 11 04:56:48 mylab kernel: audit(1144753008.688:37): avc:  denied  { read 
> } for  pid=2233 comm="httpd" name=".htaccess" dev=dm-0 ino=6723
> 2 scontext=system_u:system_r:httpd_t:s0 
> tcontext=user_u:object_r:user_home_t:s0 tclass=file
> Apr 11 05:00:21 mylab kernel: audit(1144753221.562:38): avc:  denied  { read 
> } for  pid=2234 comm="httpd" name=".htaccess" dev=dm-0 ino=6723
> 2 scontext=system_u:system_r:httpd_t:s0 
> tcontext=user_u:object_r:user_home_t:s0 tclass=file
> 
> I used the default (unmodified) .htaccess provided with drupal.  Received the 
> error.
> 
> Tried modifying .htaccess per 
> http://www.howtoforge.com/forums/showthread.php?t=38
> 
> <IfModule mod_rewrite.c>
>  RewriteEngine on
>  RewriteCond %{REQUEST_FILENAME} !-f
>  RewriteCond %{REQUEST_FILENAME} !-d
>  RewriteRule ^(.*)$ /index.php?q=$1 [L,QSA]
> </IfModule>
> 
> Same issue.
> Perhaps I need to modify http.conf?  Perhaps I just need to sleep ..... :)
> 
> Suggestions welcome.
> 
> Cheers,
> 
> Doug
> _______________________________________________
> clug-talk mailing list
> [email protected]
> http://clug.ca/mailman/listinfo/clug-talk_clug.ca
> Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
> **Please remove these lines when replying

----- End Original Message -----

_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to