By Geran on
Hi,
We have a server that runs drupal to keep track of all the important documentation. It works great on our network, we can access it just fine. However, we were looking to improve it so that we could also access it from a remote IP address. Most of the set up is ok, but drupal wont accept it. When we try to connect we get an error message saying
Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.
If you think this is a server error, please contact the webmaster.
Error 403
cheers,
G
Comments
problem is with web server configuration
The problem is not with drupal configuration. You should check your web server configuration. If the server is Apache then you should check for the config file httpd.conf and/or .htaccess files
The web server is not permitting the access from other IP address. Most likely it is via .htaccess files (if Apache) that access has been restricted.
ok, so what do I need to
ok, so what do I need to change exactly? (sorry if it's really obvious once you get there, I'm not at the server right now.)
can some one just tell me
can some one just tell me where I find this .htaccess file? this is very frustrating....
First...
.htaccess files can be placed anywheres in a web server's directory: there's no magic one place we can tell you to look and expect you to find it. The 'Deny from' setting might also be in the web server's configuration file.
Your best bet is to contact the administrator(s) of the web server: they've apparently restricted access to the site from everything except a certain range of IPs. If it's an internal documentation server there's probably a good reason for this.
Change in httpd.conf
hi
Can you please tell me what the changes should be done in httpd.conf file as i am unable to access Drupal remotely.
Thanks
Change in drupal.conf
In Mageia2, the Apache configuration file is /etc/httpd/conf/http.conf . It includes a line
Include conf/webapps.d/*.confmeaning that all conf/webapps.d/*.conf files are included as configuration files. One of them is /etc/httpd/conf/webapps.d/drupal.conf , the Apache configuration file for Drupal.
In it, I had the lines
denying access to all computers except the server itself (IP 127.1.0.0). I added a line:
to get access from the local network. To made it public, I could have replaced
by
http://Fiable.biz Web site creation.