[support] Getting to the base URL
Genevieve Romier
genevieve.romier at urec.cnrs.fr
Fri Nov 21 08:34:58 UTC 2008
Hello,
You may also verify that the selinux context allows your "normal"
directory to be used by httpd :
before setting correctly the context
# ls -Z -d the_directory_you_want_to_use/
drwxrwxr-x my_user my_user user_u:object_r:user_home_t
the_directory_you_want_to_use
how to change the context
# chcon -R -t httpd_user_content_t the_directory_you_want_to_use/
after:
# ls -Z the_directory_you_want_to_use
-rw-r--r-- my_user my_user user_u:object_r:httpd_user_content_t
index.htm
-rw-r--r-- my_user my_user user_u:object_r:httpd_sys_content_t
index.html
-rw-r--r-- my_user my_user user_u:object_r:httpd_sys_content_t
index.php
-rw-r--r-- my_user my_user user_u:object_r:httpd_sys_content_t
index.phpo
Best regards,
Geneviève Romier
CNRS UREC
www.projet-plume.org
Derek Gransaull wrote:
> Tim:
>
> Could you confirm that in addition to the /drupal directory being owned
> by the apache user and that the files in the /drupal/ tree are also
> owned by that user?
>
> What are the permissions that you've set?
>
> Have you been able to access other .html files in your /var/www/ tree?
>
> Derek Gransaull
>
> tim fong wrote:
>> Hello,
>>
>> I'm pretty new to this, so, this may be a dumb question.
>> I cannot get to the index.php page to finish my install.
>>
>> I am trying to install Drupal 6.6 on RHEL 4. I have Apache 2.2, PHP
>> 4.3.9 and MYSQL 5. I have verified that Apache, PHP and MYSQL are all
>> running.
>>
>> index.php is in:
>> /var/www/html/drupal
>>
>> I am trying to set up Drupal to run on my intranet. Once I go to
>> http://localhost/drupal/index.php , I see this error in my browser:
>>
>> Forbidden
>> You don't have permission to access /drupal/index.php on this server.
>> Additionally, a 403 Forbidden error was encountered while trying
>> to use an ErrorDocument to handle the request.
>>
>> Any ideas? I've verified that that the directory is owned by the same
>> user that is running the webserver.
>>
>>
>> Thanks,
>> Tim
>>
>>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4063 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.drupal.org/pipermail/support/attachments/20081121/cc808f6c/attachment-0001.bin
More information about the support
mailing list