Hozzászólások
felraktam debian csomagból az apache2-t. hiába hivatkozok ~username val, nem hozza be az adott user public_html -jét.
default config, userdir modul betöltve, egyedül a sites-enabledben lévö defaultban változtattam annyit, hogy a redirectet kivettem. mi lehet a gond? minden ~ -és hivatkozást a /var/www -ben keres
- A hozzászóláshoz be kell jelentkezni
Az apache main.conf fájlában állítsd be a mod_userdir -t
Nálam így van:
[code:1:b9e0bab4d4]
<IfModule mod_userdir.c>
#
# UserDir: The name of the directory that is appended onto a user's home
# directory if a ~user request is received.
#
UserDir /var/www/users/*/
#
# Control access to UserDir directories. The following is an example
# for a site where these directories are restricted to read-only.
#
<Directory /var/www/users/*>
AllowOverride FileInfo AuthConfig Limit Indexes
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec ExecCGI
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS PROPFIND>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
</IfModule>
[/code:1:b9e0bab4d4]
Te a /var/www/users/* -t írd át erre: /home/*/public_html
Szerintem így menni fog
- A hozzászóláshoz be kell jelentkezni
[quote:a3933c2923="kucu"]Az apache main.conf fájlában állítsd be a mod_userdir -t
Nálam így van:
[code:1:a3933c2923]
<IfModule mod_userdir.c>
#
# UserDir: The name of the directory that is appended onto a user's home
# directory if a ~user request is received.
#
UserDir /var/www/users/*/
[/code:1:a3933c2923]
Te a /var/www/users/* -t írd át erre: /home/*/public_html
Szerintem így menni fog
ok, ez volt a ludas alapból az UserDir public_html nem pedig /home/*/public_html. mostmár megy, köszi
- A hozzászóláshoz be kell jelentkezni