Current time: 04-26-2024, 12:49 AM Hello There, Guest! (LoginRegister)


Post Reply 
Site php problem
Author Message
scope1993 Offline
Newbie
*

Posts: 9
Joined: Jun 2008
Reputation: 0
Post: #1
Site php problem
Hi, i've a problem, i've searched in the forum, but i did not founded nothing..

My Ispcp reachable by panel.mydomain.com and it is working correctly, but the problem is not when i try to go in my site "mydomain.com" but in mydomain.it . If the index is .html is not a problem, but if the index is .php i get this error in my browser:
Code:
Not Found

The requested URL /php5/php5-fcgi-starter/test.php was not found on this server.
Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 Server at site.scopefreewh.homepc.it Port 80


I've tried to set up my apache2 configuration, but it's still doesn't work.

Thank you

EDIT:

This is my default
Code:
# NameVirtualHost scopefreewh.homepc.it
<VirtualHost 192.168.1.2:80>
    ServerAdmin webmaster@localhost
    
    DocumentRoot /var/www/
       ServerName site.scopefreewh.homepc.it
    <Directory />
        Options FollowSymLinks
        AllowOverride None
    </Directory>
    <Directory /var/www/>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride None
        Order allow,deny
        allow from all
        # This directive allows us to have apache2's default start page
                # in /apache2-default/, but still have / go to the right place
                 # RedirectMatch ^/$ /site/
    </Directory>

      ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
        

      <Directory "/usr/lib/cgi-bin">
             AllowOverride None
          Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
          Order allow,deny
          Allow from all
     </Directory>
  

    ErrorLog /var/log/apache2/error.log

    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn

    CustomLog /var/log/apache2/access.log combined
    ServerSignature On

     Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from 127.0.0.0/255.0.0.0 ::1/128
    </Directory>

</VirtualHost>

And This is my 00_master.conf
Code:
#
# ispCP ω (OMEGA) a Virtual Hosting Control System
#
# @copyright    2001-2006 by moleSoftware GmbH
# @copyright    2006-2008 by ispCP | http://isp-control.net
# @version        SVN: $ID$
# @link            http://isp-control.net
# @author        ispCP Team
#
# @license
#   This program is free software; you can redistribute it and/or modify it under
#   the terms of the MPL General Public License as published by the Free Software
#   Foundation; either version 1.1 of the License, or (at your option) any later
#   version.
#   You should have received a copy of the MPL Mozilla Public License along with
#   this program; if not, write to the Open Source Initiative (OSI)
#   http://opensource.org | osi@opensource.org
#
################################################################################​
#
# Master Begin
#

<VirtualHost 192.168.1.2:80>

    ServerAdmin     scope1993@hotmail.it
    DocumentRoot    /var/www/ispcp/gui

    ServerName      panel.scopefreewh.homepc.it

    ErrorLog        /var/log/apache2/users/admin.scopefreewh.homepc.it-error.log
    TransferLog     /var/log/apache2/users/admin.scopefreewh.homepc.it-access.log

    CustomLog       /var/log/apache2/admin.scopefreewh.homepc.it-traf.log traff
    CustomLog       /var/log/apache2/admin.scopefreewh.homepc.it-combined.log combined

    Alias /errors   /var/www/ispcp/gui/errordocs/

    ErrorDocument 401 /errors/401.html
    ErrorDocument 403 /errors/403.html
    ErrorDocument 404 /errors/404.html
    ErrorDocument 500 /errors/500.html
    ErrorDocument 503 /errors/503.html

    Alias /pma      /var/www/ispcp/gui/tools/pma/
    Alias /webmail  /var/www/ispcp/gui/tools/webmail/
    Alias /ftp      /var/www/ispcp/gui/tools/filemanager/

    <IfModule suexec_module>
           SuexecUserGroup vu2000 vu2000
    </IfModule>

    <Directory /var/www/ispcp/gui>
        Options -Indexes Includes FollowSymLinks MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>

    <IfModule mod_fastcgi.c>
        ScriptAlias /php4/ /var/www/fcgi/master/
        ScriptAlias /php5/ /var/www/fcgi/master/
        <Directory "/var/www/fcgi/master">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>

    <IfModule mod_php4.c>
        <Directory /var/www/ispcp/gui>
            php_admin_value open_basedir "/var/www/ispcp/gui/:/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php/"
            php_admin_value session.save_path "/var/www/ispcp/gui/phptmp/"
        </Directory>
    </IfModule>
    <IfModule mod_php5.c>
        <Directory /var/www/ispcp/gui>
            php_admin_value open_basedir "/var/www/ispcp/gui/:/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php/"
            php_admin_value session.save_path "/var/www/ispcp/gui/phptmp/"
        </Directory>
    </IfModule>

</VirtualHost>

#
# Master End
#
(This post was last modified: 06-13-2008 10:58 PM by scope1993.)
06-13-2008 10:47 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)