Re: [users@httpd] You don't have permission to access /base-1.1/ on this server.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Boyle Owen wrote:

-----Original Message-----
From: Mark Sargent [mailto:powderkeg@xxxxxxxxxxxxxxxx]

 Forbidden

You don't have permission to access /base-1.1/ on this server.

Read carefully the message. Apache is trying to access /base-1.1 (ie, a directory immediately under the root, "/"). It is not looking for /var/www/html/base-1.1.

As to why it is doing this - possibly a faulty "Alias" directive, eg:

Alias /some-alias /base-1.1

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored.
--------------------------------------------------------------
----------
Apache/2.0.53 (Unix) PHP/5.0.4 Server at localhost Port 80



below are the permissions for the dir if base and it's contents. Is it a permissions issue..? Cheers.

OS=Fedora Core 3

Mark Sargent.

[root@localhost html]# cd base-1.1
[root@localhost base-1.1]# ls -alh
total 472K
drwxr-xr-x  12 root root 4.0K Apr  6 15:48 .
drwxr-xr-x   5 root root 4.0K Apr  6 14:37 ..
drwxr-xr-x   2 root root 4.0K Apr  4 05:27 admin
-rwxr-xr-x   1 root root 3.5K Apr  4 05:26 base_ag_common.php
-rwxr-xr-x   1 root root  14K Apr  4 05:26 base_ag_main.php
-rwxr-xr-x   1 root root  28K Apr  4 05:26 base_common.php
-rwxr-xr-x   1 root root  11K Apr  6 14:54 base_conf.php
-rwxr-xr-x   1 root root  11K Apr  4 05:26 base_conf.php.dist
-rwxr-xr-x   1 root root 6.5K Apr  4 05:26 base_db_common.php
-rwxr-xr-x   1 root root  24K Apr  4 05:26 base_db_setup.php
-rwxr-xr-x   1 root root 1.6K Apr  4 05:26 base_denied.php
-rwxr-xr-x   1 root root 1.7K Apr  4 05:26 base_footer.php
-rwxr-xr-x   1 root root  17K Apr  4 05:26 base_graph_common.php
-rwxr-xr-x   1 root root 4.6K Apr  4 05:26 base_graph_display.php
-rwxr-xr-x   1 root root  13K Apr  4 05:26 base_graph_form.php
-rwxr-xr-x   1 root root  12K Apr  4 05:26 base_graph_main.php
-rwxr-xr-x   1 root root  118 Apr  4 05:26 base_hdr1.php
-rwxr-xr-x   1 root root  490 Apr  4 05:26 base_hdr2.php
-rwxr-xr-x   1 root root  14K Apr  4 05:26 base_main.php
-rwxr-xr-x   1 root root 9.2K Apr  4 05:26 base_maintenance.php
-rwxr-xr-x   1 root root  26K Apr  4 05:27 base_qry_alert.php
-rwxr-xr-x   1 root root  30K Apr  4 05:27 base_qry_common.php
-rwxr-xr-x   1 root root 9.3K Apr  4 05:27 base_qry_form.php
-rwxr-xr-x   1 root root 7.2K Apr  4 05:27 base_qry_main.php
-rwxr-xr-x   1 root root 8.7K Apr  4 05:27 base_qry_sqlcalls.php
-rwxr-xr-x   1 root root  13K Apr  4 05:27 base_stat_alerts.php
-rwxr-xr-x   1 root root 8.2K Apr  4 05:27 base_stat_class.php
-rwxr-xr-x   1 root root  17K Apr  4 05:27 base_stat_common.php
-rwxr-xr-x   1 root root  12K Apr  4 05:27 base_stat_ipaddr.php
-rwxr-xr-x   1 root root 7.3K Apr  4 05:27 base_stat_iplink.php
-rwxr-xr-x   1 root root 9.4K Apr  4 05:27 base_stat_ports.php
-rwxr-xr-x   1 root root 6.9K Apr  4 05:27 base_stat_sensor.php
-rwxr-xr-x   1 root root  14K Apr  4 05:27 base_stat_time.php
-rwxr-xr-x   1 root root 8.1K Apr  4 05:27 base_stat_uaddr.php
-rwxr-xr-x   1 root root 4.6K Apr  4 05:27 base_user.php
drwxr-xr-x   2 root root 4.0K Apr  4 05:28 docs
drwxr-xr-x   2 root root 4.0K Apr  4 05:27 help
drwxr-xr-x   2 root root 4.0K Apr  4 05:27 images
drwxr-xr-x   3 root root 4.0K Apr  5 03:26 includes
-rwxr-xr-x   1 root root 3.1K Apr  4 05:27 index.php
drwxr-xr-x   2 root root 4.0K Apr  4 05:27 languages
drwxr-xr-x   2 root root 4.0K Apr  4 05:28 scripts
drwxr-xr-x   2 root root 4.0K Apr  4 05:28 setup
drwxr-xr-x   2 root root 4.0K Apr  4 05:28 sql
drwxr-xr-x   2 root root 4.0K Apr  4 05:27 styles



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a private and personal nature. It is not related to the exchange or business activities of the SWX Group. Le présent e-mail est un message privé et personnel, sans rapport avec l'activité boursière du Groupe SWX.


This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


Hi All,

yes, but, if I've pointed the server to /var/www/html via httpd.conf then it should be working. I also created a testphp dir and placed the working index.php there and loaded it successfully with localhost/testphp/index.html. I sorta fixed this, by changing this,

<Directory "/usr/local/apache2/htdocs">

to this

<Directory "/var/www/html">

which now gives me access, but, in this format,


Index of /base-1.1

Icon Name <http://localhost/base-1.1/?C=N;O=D> Last modified <http://localhost/base-1.1/?C=M;O=A> Size <http://localhost/base-1.1/?C=S;O=A> Description <http://localhost/base-1.1/?C=D;O=A>
------------------------------------------------------------------------
[DIR] Parent Directory <http://localhost/> - [DIR] admin/ <http://localhost/base-1.1/admin/> 04-Apr-2005 05:27 - [ ] base_ag_common.php <http://localhost/base-1.1/base_ag_common.php> 04-Apr-2005 05:26 3.5K
which, I guess, is not too good. What have I done wrong here..?
And, could someone explain the reason why changing what I did allowed access. Cheers.

Mark Sargent.




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux