rikardo7 pisze:
chodzi Ci o to :
<VirtualHost 192.168.12.65:81>
to tak maja tu byc twoje dane,
czyli <VirtualHost 192.168.3.1:81>
aha i musisz dodac w httpd.conf lub przed wirtualka listen np. tak:
listen 85
<VirtualHost *:85>
to gdzie wkoncu w httpd.conf czy vhosts.conf? bo dodalem do vhosts.conf
listen81
<VirtualHost 192.168.3.1:81>
DocumentRoot /home/httpd/other/81_info/
ScriptAlias /cgi-bin/ /home/httpd/other/81_info/cgi-bin/
Alias /error/ /home/httpd/other/81_info/errors/
ErrorDocument 404 /index.php
ErrorLog /home/httpd/other/81_info/log/error.log
CustomLog /home/httpd/other/81_info/log/access.log common
Options ExecCGI
</VirtualHost>
listen 82
<VirtualHost 192.168.3.1:82>
DocumentRoot /home/httpd/other/82_blok/
ScriptAlias /cgi-bin/ /home/httpd/other/82_blok/cgi-bin/
Alias /error/ /home/httpd/other/82_blok/errors/
ErrorDocument 404 /index.php
ErrorLog /home/httpd/other/82_blok/error.log
CustomLog /home/httpd/other/82_blok/access.log common
Options ExecCGI
</VirtualHost>
listen 83
<VirtualHost 192.168.3.1:83>
DocumentRoot /home/httpd/other/83_hotspot/
ScriptAlias /cgi-bin/ /home/httpd/other/83_hotspot/cgi-bin/
Alias /error/ /home/httpd/other/83_hotspot/errors/
ErrorDocument 404 /index.php
ErrorLog /home/httpd/other/83_hotspot/error.log
CustomLog /home/httpd/other/83_hotspot/access.log common
Options ExecCGI
</VirtualHost>
listen 84
<VirtualHost 192.168.3.1:84>
DocumentRoot /home/httpd/other/84_int/
ScriptAlias /cgi-bin/ /home/httpd/other/84_int/cgi-bin/
Alias /error/ /home/httpd/other/84_int/errors/
ErrorDocument 404 /error/err404.html
ErrorLog /home/httpd/other/84_int/log/error.log
CustomLog /home/httpd/other/84_int/log/access.log common
Options ExecCGI
</VirtualHost>
include /etc/httpd/conf/httpd.conf
tak to wyglada u mnie w vhosts.conf
dobra dopisalem do httpd.conf te lsiten 81 82 83... ale teraz co z tym wyzej czy to jest dobrze? czy mam dopisac tez w httpd.conf