nastaveni apache

Lukas Vana fabian at fabian.cz
Mon Mar 19 21:15:39 CET 2007


Milan Cizek wrote:
>> Pouzivame stejny modul a nastavene to mame takto:
>>
>> /usr/local/etc/apache22/httpd.conf:
>> NameVirtualHost x.x.x.x:80
>> Include etc/apache22/vhosts.conf
>>
>> /usr/local/etc/apache22/vhosts.conf:
>> ## jednotlive 
>> vhosty                                                        
>>     
>
> Ahoj, ano takto to opravdu funguje. Ja mel namysli spise tento zpusob:
>
>   NameVirtualHost *:80
>
>   # Přidělení oprávnění jednotlivým adresářům
>   <Directory "/usr/local/www/data/*">
>     Options FollowSymLinks IncludesNOEXEC
>     AllowOverride All
>     Order allow,deny
>     Allow from all
>   </Directory>
>
>   <VirtualHost *:80>
>     ServerName %0
>     VirtualDocumentRoot "/usr/local/www/data/%2+/%1"
>
> #    php_admin_flag register_globals on
>     php_admin_flag safe_mode off
> #    php_admin_value open_basedir /usr/local/www/data/%2+/%1/
> #    php_admin_value safe_mode_exec_dir /usr/local/www/data/%2+/%1/
>   </VirtualHost>
>
> Stejnak dik. Milan
>
>
>   
Aha tak to jsem to spatne pochopil. Kdyz na to prijdes, tak napis. 
Zajimalo by me to :)

-- 
Lukas Vana (fabian)

IT bridge.net s.r.o.
Vinohradska 184
130 52 Praha 3
Czech republic
tel.: +420 267 132 439
web: http://www.itbridge.net

home page: http://home.fabian.cz
icq: 274000127
irc: #czech at AfterNet, #penguin.cz at IRCNet 




More information about the Users-l mailing list