Re: [vhffs] installation VHFFS

[ Thread Index | Date Index | More vhffs.org/vhffs Archives ]


je piste le probleme

si je désactive le module, apache ne se lance plus

a2dismod vhost_hash_alias
Module vhost_hash_alias disabled.
Run '/etc/init.d/apache2 restart' to activate new configuration!
ks362567:~# /etc/init.d/apache2 restart
Restarting web server: apache2We failed to correctly shutdown apache, so we're now killing all running apache processes. This is almost certainly suboptimal, so please make sure your system is working as you'd expect now! (warning). ... waiting Syntax error on line 10 of /etc/apache2/sites-enabled/panelconf: Invalid command 'HashEnable', perhaps misspelled or defined by a module not included in the server configuration

j'en conclus que le module est bien chargé et sensé fonctionner

le chemin semble conforme aux règle du fichier vhost_hash_alias.conf

vhffs-webdir help.vault106.org
> Create new shell in /data/web//02/af/4b/help.vault106.org
> ks362567:/data/web/02/af/4b/help.vault106.org# ls
> htdocs php-include tmp

HashDocumentRootPrefix /data/web
HashLimit 6
HashSplit 2 2 2
sensé supprimer la portion 02/af/4b d'après ce que j'en ai déduis

puis HashDocumentRootSuffix htdocs

pas de doc accessible, du moins j'en ai pas trouvé a part des références à vhffs (c'est vous qui developpez ce module ?)



Le 29/10/2010 08:58, regis pondaven a écrit :
bon bon bon
rien n'est simple au final :/

ls /etc/apache2/sites-enabled/
panelconf phpmyadmin roundcube.conf stats vhffs

les sites hors vhffs : panel phpmyadmin roundcube et stats fonctionnent

les sites vhffs sont redirigés sur le VHost par défaut, à savoir le panel

j'ai suivi la page http://www.vhffs.org/wiki/fr:doc:guide:web-hosting

le VHFFS est copié de là : http://www.vhffs.org/wiki/doc:guide:web-hosting


<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /data/web
HashEnable On
<Directory /data/web/>
Options -ExecCGI Indexes FollowSymLinks +Includes MultiViews
IndexIgnore */.quota */.*passw* */.htaccess
IndexOptions NameWidth=*
AllowOverride All
order allow,deny
allow from all
RewriteEngine on
</Directory>
<IfModule mod_suphp.c>
AddHandler x-httpd-php .php .php3 .php4 .php5 .phtml
suPHP_AddHandler x-httpd-php
suPHP_Engine on
</IfModule>
ErrorLog /var/log/apache2/sites-error.log
LogFormat "%V %h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-agent}i\"" vhffs
# CustomLog /data/logs/web/incoming/{SERVER_NAME}/vhffs.log vhffs
# CustomLog /data/logs/web/incoming/vhffs.log vhffs
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
# LogLevel warn
# LogFormat "%V %h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-agent}i\"" vhffs
ServerSignature On
Alias /icons/ "/usr/share/apache2/icons/"
<Directory "/usr/share/apache2/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>



ls /etc/apache2/mods-enabled/
alias.conf authn_file.load authz_host.load autoindex.load deflate.load
env.load negotiation.conf php5.load setenvif.load status.conf suphp.load
alias.load authz_default.load authz_user.load cgi.load dir.conf
mime.conf negotiation.load rewrite.load ssl.conf status.load
vhost_hash_alias.conf
auth_basic.load authz_groupfile.load autoindex.conf deflate.conf
dir.load mime.load php5.conf setenvif.conf ssl.load suphp.conf
vhost_hash_alias.load


exemple :

vhffs-webdir help.vault106.org
Create new shell in /data/web//02/af/4b/help.vault106.org
ks362567:/data/web/02/af/4b/help.vault106.org# ls
htdocs php-include tmp

l'espace web est créé

mais je tombe sur le panel (url panel.vault106.org)

panel-access.log :
93.21.142.241 - - [29/Oct/2010:08:53:05 +0200] "GET
/themes/vhffs/main.css HTTP/1.1" 304 - "http://help.vault106.org/";
"Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.10) Gecko/20100928
Ant.com Toolbar 2.0.1 Firefox/3.6.10"
93.21.142.241 - - [29/Oct/2010:08:53:05 +0200] "GET
/themes/vhffs/images/es_ES.png HTTP/1.1" 304 -
"http://help.vault106.org/"; "Mozilla/5.0 (X11; U; Linux x86_64; en-US;
rv:1.9.2.10) Gecko/20100928 Ant.com Toolbar 2.0.1 Firefox/3.6.10"
93.21.142.241 - - [29/Oct/2010:08:53:05 +0200] "GET /js/prototype.js
HTTP/1.1" 304 - "http://help.vault106.org/"; "Mozilla/5.0 (X11; U; Linux
x86_64; en-US; rv:1.9.2.10) Gecko/20100928 Ant.com Toolbar 2.0.1
Firefox/3.6.10"





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/