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

permission denied



I get this error
you don't have permission to access /admin.pl on this server.

have everything chowned to www:www and have added this to my vhost file

<VirtualHost *:80>
#       ServerAdmin ..hidden..
#       DocumentRoot /usr/local/sql-ledger

#       <Directory /usr/local/sql-ledger>
#               AllowOverride All
#               AddHandler cgi-script .pl
#               Options ExecCGI Includes FollowSymlinks
#               Order Allow,Deny
#               Allow from All
#       </Directory>

#       <Directory /usr/local/sql-ledger/users>
#               Order Deny,Allow
#               Deny from All
#       </Directory>

ServerAdmin ..hidden..
DocumentRoot /usr/local/ledgersmb


<Directory WORKING_DIR>
  AllowOverride All
  AddHandler cgi-script .pl
  Options ExecCGI Includes FollowSymlinks
  Order Allow,Deny
  Allow from All
  <Files ~ "\.conf$">
    Order Deny,Allow
    Deny from All
  </Files>
</Directory>

<Directory WORKING_DIR/users>
  Order Deny,Allow
  Deny from All
</Directory>

<Directory WORKING_DIR/bin>
  Order Deny,Allow
 Deny from All
</Directory>

<Directory WORKING_DIR/utils>
  Order Deny,Allow
  Deny from All
</Directory>

<Directory WORKING_DIR/spool>
  Order Deny,Allow
  Deny from All
</Directory>

<Directory WORKING_DIR/LedgerSMB>
  Order Deny,Allow
  Deny from All
</Directory>

ServerName sl.computerking.ca
ErrorLog /var/log/apache22/sl.computerking.ca-error_log
CustomLog /var/log/apache22/sl.computerking.ca-access_log common
</VirtualHost>



--
Computer King & CaN Mail  -  Sales Service Hosting Backup

http://www.computerking.ca     http://www.canmail.org

NEW!!! Custom Service Packages
Secure IMAP Email - Automated Remote Backups - Photo Blogs - Online Accounting Packages