Current time: 03-28-2025, 04:26 PM Hello There, Guest! (LoginRegister)


Post Reply 
Visibiliter des fichier et phpinfo
Author Message
Flymann Offline
Newbie
*

Posts: 6
Joined: Dec 2008
Reputation: 0
Post: #3
RE: Visibiliter des fichier et phpinfo
Je te remercie bien Smile

Bonne continuation !
Hum, je ne comprend pas très bien,
La visibilité est possible pour tout le monde ! et si je commente la ligne de l'erreur 403 je tombe sur la page Forbiden.

Voici un bou du fichier concernent un site :

Code:
# httpd [hctteam.fr] dmn entry BEGIN.
<VirtualHost 88.191.81.68:80>

    <IfModule suexec_module>
           SuexecUserGroup vu2002 vu2002
    </IfModule>

    ServerAdmin     webmaster@hctteam.fr
    DocumentRoot    /var/www/virtual/hctteam.fr/htdocs

    ServerName      hctteam.fr
    ServerAlias     www.hctteam.fr hctteam.fr *.hctteam.fr

    ErrorLog        /var/log/apache2/users/hctteam.fr-error.log
    TransferLog     /var/log/apache2/users/hctteam.fr-access.log

    CustomLog       /var/log/apache2/hctteam.fr-traf.log traff
    CustomLog       /var/log/apache2/hctteam.fr-combined.log combined

    Alias /errors   /var/www/virtual/hctteam.fr/errors/

    RedirectMatch permanent ^/ftp([\/]?)                http://admin.next-gamers.net/ftp/
    RedirectMatch permanent ^/pma([\/]?)                http://admin.next-gamers.net/pma/
    RedirectMatch permanent ^/webmail([\/]?)    http://admin.next-gamers.net/webmail/

    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

    <IfModule mod_cband.c>
        CBandUser hctteam.fr
    </IfModule>

    # httpd awstats support BEGIN.

   ProxyRequests Off

   <Proxy *>
      Order deny,allow
      Allow from all
   </Proxy>

   ProxyPass                    /stats  http://localhost/stats/hctteam.fr
   ProxyPassReverse     /stats  http://localhost/stats/hctteam.fr
   # httpd awstats support END.

    # httpd dmn entry cgi support BEGIN.
    ScriptAlias /cgi-bin/ /var/www/virtual/hctteam.fr/cgi-bin/
    <Directory /var/www/virtual/hctteam.fr/cgi-bin>
        AllowOverride AuthConfig
        #Options ExecCGI
        Order allow,deny
        Allow from all
    </Directory>
    # httpd dmn entry cgi support END.

    # httpd dmn entry PHP2 support BEGIN.
    <IfModule mod_php4.c>
        php_admin_value open_basedir "/var/www/virtual/hctteam.fr/:/var/www/virtual/hctteam.fr/phptmp/:/usr/share/php/"
        php_admin_value upload_tmp_dir "/var/www/virtual/hctteam.fr/phptmp/"
        php_admin_value session.save_path "/var/www/virtual/hctteam.fr/phptmp/"
        php_admin_value sendmail_path '/usr/sbin/sendmail -f vu2002 -t -i'
    </IfModule>
    <IfModule mod_php5.c>
        php_admin_value open_basedir "/var/www/virtual/hctteam.fr/:/var/www/virtual/hctteam.fr/phptmp/:/usr/share/php/"
        php_admin_value upload_tmp_dir "/var/www/virtual/hctteam.fr/phptmp/"
php_admin_value session.save_path "/var/www/virtual/hctteam.fr/phptmp/"
        php_admin_value sendmail_path '/usr/sbin/sendmail -f vu2002 -t -i'
    </IfModule>
    <IfModule mod_fastcgi.c>
        ScriptAlias /php4/ /var/www/fcgi/hctteam.fr/
        ScriptAlias /php5/ /var/www/fcgi/hctteam.fr/
        <Directory "/var/www/fcgi/hctteam.fr">
            AllowOverride None
            Options +ExecCGI -MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>
    # httpd dmn entry PHP2 support END.

    <Directory /var/www/virtual/hctteam.fr/htdocs>
        # httpd dmn entry PHP support BEGIN.
        # httpd dmn entry PHP support END.
        Options -Indexes Includes FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>

    Include /etc/apache2/ispcp/hctteam.fr.conf

</VirtualHost>

Peut - être que vous pourrez mieux m'aider comme ceci Smile

Merci d'avance
(This post was last modified: 12-29-2008 12:12 AM by Flymann.)
12-28-2008 11:20 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Visibiliter des fichier et phpinfo - Flymann - 12-28-2008 11:20 PM

Forum Jump:


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