In addition to Jon's comment, are you sure you copied the .htaccess file 
properly?  I know it sounds stupid and is probably one of the things you've 
checked (I'm inferring from your post), but....  I've been guilty of this a 
few times when doing drag and drops - without the hidden files visible.

Also, make sure the .htaccess file is readable by the account that is running 
apache.  i.e. on my box, the file is owned by apache:apache (user:group).

HTH

Shawn

On Tuesday 11 April 2006 05:17, Doug Boyd wrote:
> 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

Reply via email to