Apache "Forbidden" error problems

Discussion in 'Apache' started by phoenixcomm, Aug 2, 2012.

  1. #1
    hi, I have been using Apache2 for a long time most of the time I use "virtual hosts" I just had my provider change me from a "shared-ip" to a "fixed-ip" address [​IMG] But thats when it all went to hell. [​IMG] All they should have done is change my ip-address.
    Here is my configuration:
    /etc/httpd/conf has my httpd.conf file its last line "Include conf/vhosts.con
    in my vhosts file contains:

    NameVirtualHost *:80
    <VirtualHost *:80>
    </VirtualHost>

    <Directory "/export/home">
    Options Includes ExecCGI Indexes
    AddHandler cgi-script .pl
    AllowOverride AuthConfig
    Order allow,deny
    Allow from all
    </Directory>

    Include conf/webs/website.com
    Include conf/webs/web1.com

    So each virtual server should be the same with all the permissions.. easy right [​IMG] and each server is its own file..
    web1 is a typical server.. and has access to mysql.
    web1.biz:
    <VirtualHost *:80>
    ServerName web1.biz
    ServerAlias www.web1.biz
    DocumentRoot /export/home/webs/web1/public_html
    ErrorLog /var/log/www/web1/error.log
    TransferLog /var/log/www/web1/transfer.log
    </VirtualHost>

    website:
    this is my main website with access to mysql phpmyadmin in /var/www/html/pma
    so I have a link in my /export/home/webs/website/public_html -> /var/www/html/pma
    but before they changed my address it worked fine.. with the above configuration...
    this is my current configuration but I still get the dam "Forbidden" error when I try to start phpmyadmin [​IMG]

    <VirtualHost *:80>
    ServerName website.net
    ServerAlias www.website.net
    DocumentRoot /export/home/webs/website/public_html
    DirectoryIndex index.html index.shtml index.pl index.php
    <Directory />
    Options Includes ExecCGI FollowSymLinks
    AllowOverride Indexes
    </Directory>
    ErrorLog /var/log/www/website/error.log
    TransferLog /var/log/www/website/transfer.log
    </VirtualHost>

     
    phoenixcomm, Aug 2, 2012 IP
  2. Thibaut

    Thibaut Well-Known Member

    Messages:
    886
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    140
    #2
    Could be nice to check your phpMyAdmin conf as well.
     
    Thibaut, Aug 5, 2012 IP