Re: [vhffs] installation VHFFS |
[ Thread Index |
Date Index
| More vhffs.org/vhffs Archives
]
- To: vhffs@xxxxxxxxx
- Subject: Re: [vhffs] installation VHFFS
- From: regis pondaven <regis.pondaven@xxxxxxxxx>
- Date: Thu, 28 Oct 2010 18:41:50 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=6UdoMScuiOHGn8thpd7CRD+F6Nx77RtnWvWU6wWS5jk=; b=CllVjx4cvYzIb/xer2sKYdilTPCp5fqk+lsJ2B7tYfRDMysqYc0kWqBJdbIK4dt3Oc KV8+Ke+4bu+1t0va98qVWinQn7YYA876KdmIxdIZS+S6P5jbmkyxVxC7fbz4fGfRA7dX wI7D6hE4zpQRD6W60Uf1MH0UMldaZkW48gXJM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=fkcNU+EuYkJHADDw9Jui1qZx96YE8XdQ5pd1tzZqku2b7CzATni4wb38NnegG+ZXXD +SxR+6iUrlBh3kjDEJ1j5x1q5l4EY6Z2Oa8LapU5uDO/eavP4Y6xDwTacJe7umrcBhVK a/ihi/Gqud8OfnVLgKK4WZgOVxSf7aO3jrrNc=
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"