Strona 4 z 4

: 23 maja 2008, 14:54
autor: Yampress
gośka_23, /etc/apache2/httpd.conf nie zmieniasz. w debianie vhosty maja byc w /etc/apache2/sites-available/default i tam je musisz umieścić. więc httpd.conf musisz zmienic na tkai jaki był przed zmianą.



/etc/apache2/sites-available/default :

Kod: Zaznacz cały


NameVirtualHost 91.192.58.243:80 
<VirtualHost 91.192.58.243:80> 
    ServerAdmin twoj_email@twoja_domena
    ServerName [url]www.pphu-gabi.az.pl[/url] 
    ServerAlias pphu-gabi.az.pl    
    DocumentRoot /var/www/brg1
    <Directory /> 
        Options FollowSymLinks 
        AllowOverride None 
    </Directory> 
    <Directory /var/www/brg1> 
        Options Indexes FollowSymLinks MultiViews 
        AllowOverride None 
        Order allow,deny 
        allow from all 
    </Directory> 

#    ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ 
#   <Directory "/usr/lib/cgi-bin"> 
#        AllowOverride None 
#       Options ExecCGI -MultiViews +SymLinksIfOwnerMatch 
#        Order allow,deny 
#        Allow from all 
#    </Directory> 

    ErrorLog /var/log/apache2/error.log 

    # Possible values include: debug, info, notice, warn, error, crit, 
    # alert, emerg. 
    LogLevel warn 

    CustomLog /var/log/apache2/access.log combined 
    ServerSignature On 

#   Alias /doc/ "/usr/share/doc/" 
#    <Directory "/usr/share/doc/"> 
#       Options Indexes MultiViews FollowSymLinks 
#        AllowOverride None 
#        Order deny,allow 
#        Deny from all 
#        Allow from 127.0.0.0/255.0.0.0 ::1/128 
#   </Directory> 

</VirtualHost>
i tak dla kolejnych domen analogicznie
bez powtarzania wpisu NameVirtualHost 91.192.58.243:80 oczywiście :-P

co do tajemniczych ogonków to musisz przekonwertowac na utf-8 lub na iso-8859-2 w zależności na jakim kodowaniu pracuje server

http://debian.linux.pl/viewtopic.php?t=8471

: 23 maja 2008, 15:00
autor: fnmirk
Sprawdź wyświetlanie stron i porównaj w różnych przeglądarkach. I ewentualnie skoryguj ich kod.
Sprawdź nazwy plików. Ustaw wszystkie nazwy korzystając z małych liter.

: 23 maja 2008, 15:03
autor: goska_23
Bardzo dziekuję za bezcenną pomoc Yampress, już się za to zabieram!

[ Dodano: 2008-05-23, 15:37 ]
Już poprawiłam tak jak napisał Yampress. Czy może wszystkie 3 stronki już się z internetu otwierają? :-|

[ Dodano: 2008-05-23, 16:51 ]
Koleżanka doniosła mi, że przy tym ustawieniu co jest teraz strony w internecie dobrze się otwierają! Niestety przy tych wpisach co są teraz nie otwierają mi się strony w intranecie czyli w sieci wewnętrznej co niezbyt mi się podoba! Jak zmienie wpisy to otwierają mi się tylko strony w wewnętrznej sieci a w internecie nie. Czyli albo to albo to! :-?
Niezbyt mi to pasuje! Za chwilę powklejam plik default w obu wersjach!

[ Dodano: 2008-05-23, 17:02 ]
plik default przy którym jest dobrze w internecie (teraz jest apache odpalony z tym)

Kod: Zaznacz cały

NameVirtualHost 91.192.58.243:80
<VirtualHost 91.192.58.243:80>
	ServerAdmin [email]biuro@pphu-gabi.az.pl[/email]
	ServerName [url]www.pphu-gabi.az.pl[/url]
	ServerAlias pphu-gabi.az.pl
	DocumentRoot /var/www/brg1
	<Directory />
		Options FollowSymLinks
		AllowOverride None
	</Directory>
	<Directory /var/www/brg1>
		Options Indexes FollowSymLinks MultiViews
		AllowOverride None
		Order allow,deny
		allow from all
		# This directive allows us to have apache2's default start page
                # in /apache2-default/, but still have / go to the right place
                #RedirectMatch ^/$ /apache2-default/
		# RedirectMatch ^/$ /news.php
		 
	</Directory>

	#ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
	#<Directory "/usr/lib/cgi-bin">
	#	AllowOverride None
	#	Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
	#	Order allow,deny
	#	Allow from all
	#</Directory>

	ErrorLog /var/log/apache2/error.log

	# Possible values include: debug, info, notice, warn, error, crit,
	# alert, emerg.
	LogLevel warn

	CustomLog /var/log/apache2/access.log combined
	ServerSignature On

    #Alias /doc/ "/usr/share/doc/"
    #<Directory "/usr/share/doc/">
    #    Options Indexes MultiViews FollowSymLinks
    #    AllowOverride None
    #    Order deny,allow
    #    Deny from all
    #    Allow from 127.0.0.0/255.0.0.0 ::1/128
    #</Directory>

</VirtualHost>


<VirtualHost 91.192.58.243:80>
	ServerAdmin [email]sekretariat-gg@g-g-invest-group.katowice.pl[/email]
	ServerName [url]www.g-g-invest-group.katowice.pl[/url]
	ServerAlias g-g-invest-group.katowice.pl
	DocumentRoot /var/www/gg_up1
	<Directory />
		Options FollowSymLinks
		AllowOverride None
	</Directory>
	<Directory /var/www/gg_up1>
		Options Indexes FollowSymLinks MultiViews
		AllowOverride None
		Order allow,deny
		allow from all
		# This directive allows us to have apache2's default start page
                # in /apache2-default/, but still have / go to the right place
                # RedirectMatch ^/$ /apache2-default/
		  RedirectMatch ^/$ /index.html
		 
	</Directory>

	#  ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
	# <Directory "/usr/lib/cgi-bin">
	#	AllowOverride None
	#	Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
	#	Order allow,deny
	#	Allow from all
	# </Directory>

	ErrorLog /var/log/apache2/error.log

	# Possible values include: debug, info, notice, warn, error, crit,
	# alert, emerg.
	LogLevel warn

	CustomLog /var/log/apache2/access.log combined
	ServerSignature On

    #Alias /doc/ "/usr/share/doc/"
    #<Directory "/usr/share/doc/">
    #    Options Indexes MultiViews FollowSymLinks
    #    AllowOverride None
    #    Order deny,allow
    #    Deny from all
    #    Allow from 127.0.0.0/255.0.0.0 ::1/128
    #</Directory>

</VirtualHost>

<VirtualHost 91.192.58.243:80>
	ServerAdmin [email]biuro@gabi.katowice.pl[/email]
	ServerName [url]www.gabi.katowice.pl[/url]
	ServerAlias gabi.katowice.pl
	DocumentRoot /var/www/gabi_up1
	<Directory />
		Options FollowSymLinks
		AllowOverride None
	</Directory>
	<Directory /var/www/gabi_up1>
		Options Indexes FollowSymLinks MultiViews
		AllowOverride None
		Order allow,deny
		allow from all
		# This directive allows us to have apache2's default start page
                # in /apache2-default/, but still have / go to the right place
                # RedirectMatch ^/$ /apache2-default/
		  RedirectMatch ^/$ /index.html
		 
	</Directory>

	#  ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
	# <Directory "/usr/lib/cgi-bin">
	#	AllowOverride None
	#	Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
	#	Order allow,deny
	#	Allow from all
	# </Directory>

	ErrorLog /var/log/apache2/error.log

	# Possible values include: debug, info, notice, warn, error, crit,
	# alert, emerg.
	LogLevel warn

	CustomLog /var/log/apache2/access.log combined
	ServerSignature On

    #Alias /doc/ "/usr/share/doc/"
    #<Directory "/usr/share/doc/">
    #    Options Indexes MultiViews FollowSymLinks
    #    AllowOverride None
    #    Order deny,allow
    #    Deny from all
    #    Allow from 127.0.0.0/255.0.0.0 ::1/128
    #</Directory>

</VirtualHost>

NameVirtualHost 192.168.1.54:80
<VirtualHost 192.168.1.54:80>
	ServerAdmin [email]biuro@pphu-gabi.az.pl[/email]
	ServerName [url]www.pphu-gabi.az.pl[/url]
	ServerAlias pphu-gabi.az.pl
	DocumentRoot /var/www/brg1
	<Directory />
		Options FollowSymLinks
		AllowOverride None
	</Directory>
	<Directory /var/www/brg1>
		Options Indexes FollowSymLinks MultiViews
		AllowOverride None
		Order allow,deny
		allow from all
		# This directive allows us to have apache2's default start page
                # in /apache2-default/, but still have / go to the right place
                #RedirectMatch ^/$ /apache2-default/
		 RedirectMatch ^/$ /news.php
		 
	</Directory>

	#ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
	#<Directory "/usr/lib/cgi-bin">
	#	AllowOverride None
	#	Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
	#	Order allow,deny
	#	Allow from all
	#</Directory>

	ErrorLog /var/log/apache2/error.log

	# Possible values include: debug, info, notice, warn, error, crit,
	# alert, emerg.
	LogLevel warn

	CustomLog /var/log/apache2/access.log combined
	ServerSignature On

    #Alias /doc/ "/usr/share/doc/"
    #<Directory "/usr/share/doc/">
    #    Options Indexes MultiViews FollowSymLinks
    #    AllowOverride None
    #    Order deny,allow
    #    Deny from all
    #    Allow from 127.0.0.0/255.0.0.0 ::1/128
    #</Directory>

</VirtualHost>


<VirtualHost 192.168.1.54:80>
	ServerAdmin [email]sekretariat-gg@g-g-invest-group.katowice.pl[/email]
	ServerName [url]www.g-g-invest-group.katowice.pl[/url]
	ServerAlias g-g-invest-group.katowice.pl
	DocumentRoot /var/www/gg_up1
	<Directory />
		Options FollowSymLinks
		AllowOverride None
	</Directory>
	<Directory /var/www/gg_up1>
		Options Indexes FollowSymLinks MultiViews
		AllowOverride None
		Order allow,deny
		allow from all
		# This directive allows us to have apache2's default start page
                # in /apache2-default/, but still have / go to the right place
                # RedirectMatch ^/$ /apache2-default/
		  RedirectMatch ^/$ /index.html
		 
	</Directory>

	#  ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
	# <Directory "/usr/lib/cgi-bin">
	#	AllowOverride None
	#	Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
	#	Order allow,deny
	#	Allow from all
	# </Directory>

	ErrorLog /var/log/apache2/error.log

	# Possible values include: debug, info, notice, warn, error, crit,
	# alert, emerg.
	LogLevel warn

	CustomLog /var/log/apache2/access.log combined
	ServerSignature On

    #Alias /doc/ "/usr/share/doc/"
    #<Directory "/usr/share/doc/">
    #    Options Indexes MultiViews FollowSymLinks
    #    AllowOverride None
    #    Order deny,allow
    #    Deny from all
    #    Allow from 127.0.0.0/255.0.0.0 ::1/128
    #</Directory>

</VirtualHost>


<VirtualHost 192.168.1.54:80>
	ServerAdmin [email]biuro@gabi.katowice.pl[/email]
	ServerName [url]www.gabi.katowice.pl[/url]
	ServerAlias gabi.katowice.pl
	DocumentRoot /var/www/gabi_up1
	<Directory />
		Options FollowSymLinks
		AllowOverride None
	</Directory>
	<Directory /var/www/gabi_up1>
		Options Indexes FollowSymLinks MultiViews
		AllowOverride None
		Order allow,deny
		allow from all
		# This directive allows us to have apache2's default start page
                # in /apache2-default/, but still have / go to the right place
                # RedirectMatch ^/$ /apache2-default/
		# RedirectMatch ^/$ /index.html
		 
	</Directory>

	#  ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
	# <Directory "/usr/lib/cgi-bin">
	#	AllowOverride None
	#	Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
	#	Order allow,deny
	#	Allow from all
	# </Directory>

	ErrorLog /var/log/apache2/error.log

	# Possible values include: debug, info, notice, warn, error, crit,
	# alert, emerg.
	LogLevel warn

	CustomLog /var/log/apache2/access.log combined
	ServerSignature On

    #Alias /doc/ "/usr/share/doc/"
    #<Directory "/usr/share/doc/">
    #    Options Indexes MultiViews FollowSymLinks
    #    AllowOverride None
    #    Order deny,allow
    #    Deny from all
    #    Allow from 127.0.0.0/255.0.0.0 ::1/128
    #</Directory>

</VirtualHost>
plik default przy którym jest dobrze w sieci wewnętrznej!

Kod: Zaznacz cały

NameVirtualHost 91.192.58.243:80
<VirtualHost 91.192.58.243:80>
	ServerAdmin [email]biuro@pphu-gabi.az.pl[/email]
	ServerName [url]www.pphu-gabi.az.pl[/url]
	ServerAlias pphu-gabi.az.pl
	DocumentRoot /var/www/brg1
	<Directory />
		Options FollowSymLinks
		AllowOverride None
	</Directory>
	<Directory /var/www/brg1>
		Options Indexes FollowSymLinks MultiViews
		AllowOverride None
		Order allow,deny
		allow from all
		# This directive allows us to have apache2's default start page
                # in /apache2-default/, but still have / go to the right place
                #RedirectMatch ^/$ /apache2-default/
		 RedirectMatch ^/$ /news.php
		 
	</Directory>

	#ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
	#<Directory "/usr/lib/cgi-bin">
	#	AllowOverride None
	#	Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
	#	Order allow,deny
	#	Allow from all
	#</Directory>

	ErrorLog /var/log/apache2/error.log

	# Possible values include: debug, info, notice, warn, error, crit,
	# alert, emerg.
	LogLevel warn

	CustomLog /var/log/apache2/access.log combined
	ServerSignature On

    #Alias /doc/ "/usr/share/doc/"
    #<Directory "/usr/share/doc/">
    #    Options Indexes MultiViews FollowSymLinks
    #    AllowOverride None
    #    Order deny,allow
    #    Deny from all
    #    Allow from 127.0.0.0/255.0.0.0 ::1/128
    #</Directory>

</VirtualHost>


<VirtualHost 91.192.58.243:80>
	ServerAdmin [email]sekretariat-gg@g-g-invest-group.katowice.pl[/email]
	ServerName [url]www.g-g-invest-group.katowice.pl[/url]
	ServerAlias g-g-invest-group.katowice.pl
	DocumentRoot /var/www/gg_up1
	<Directory />
		Options FollowSymLinks
		AllowOverride None
	</Directory>
	<Directory /var/www/gg_up1>
		Options Indexes FollowSymLinks MultiViews
		AllowOverride None
		Order allow,deny
		allow from all
		# This directive allows us to have apache2's default start page
                # in /apache2-default/, but still have / go to the right place
                # RedirectMatch ^/$ /apache2-default/
		  RedirectMatch ^/$ /index.html
		 
	</Directory>

	#  ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
	# <Directory "/usr/lib/cgi-bin">
	#	AllowOverride None
	#	Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
	#	Order allow,deny
	#	Allow from all
	# </Directory>

	ErrorLog /var/log/apache2/error.log

	# Possible values include: debug, info, notice, warn, error, crit,
	# alert, emerg.
	LogLevel warn

	CustomLog /var/log/apache2/access.log combined
	ServerSignature On

    #Alias /doc/ "/usr/share/doc/"
    #<Directory "/usr/share/doc/">
    #    Options Indexes MultiViews FollowSymLinks
    #    AllowOverride None
    #    Order deny,allow
    #    Deny from all
    #    Allow from 127.0.0.0/255.0.0.0 ::1/128
    #</Directory>

</VirtualHost>

<VirtualHost 91.192.58.243:80>
	ServerAdmin [email]biuro@gabi.katowice.pl[/email]
	ServerName [url]www.gabi.katowice.pl[/url]
	ServerAlias gabi.katowice.pl
	DocumentRoot /var/www/gabi_up1
	<Directory />
		Options FollowSymLinks
		AllowOverride None
	</Directory>
	<Directory /var/www/gabi_up1>
		Options Indexes FollowSymLinks MultiViews
		AllowOverride None
		Order allow,deny
		allow from all
		# This directive allows us to have apache2's default start page
                # in /apache2-default/, but still have / go to the right place
                # RedirectMatch ^/$ /apache2-default/
		  RedirectMatch ^/$ /index.html
		 
	</Directory>

	#  ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
	# <Directory "/usr/lib/cgi-bin">
	#	AllowOverride None
	#	Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
	#	Order allow,deny
	#	Allow from all
	# </Directory>

	ErrorLog /var/log/apache2/error.log

	# Possible values include: debug, info, notice, warn, error, crit,
	# alert, emerg.
	LogLevel warn

	CustomLog /var/log/apache2/access.log combined
	ServerSignature On

    #Alias /doc/ "/usr/share/doc/"
    #<Directory "/usr/share/doc/">
    #    Options Indexes MultiViews FollowSymLinks
    #    AllowOverride None
    #    Order deny,allow
    #    Deny from all
    #    Allow from 127.0.0.0/255.0.0.0 ::1/128
    #</Directory>

</VirtualHost>

NameVirtualHost 192.168.1.54:80
<VirtualHost 192.168.1.54:80>
	 
	 DocumentRoot /var/www/brg1
	<Directory />
		Options FollowSymLinks
		AllowOverride None
	</Directory>
	<Directory /var/www/brg1>
		Options Indexes FollowSymLinks MultiViews
		AllowOverride None
		Order allow,deny
		allow from all
		# This directive allows us to have apache2's default start page
                # in /apache2-default/, but still have / go to the right place
                #RedirectMatch ^/$ /apache2-default/
		 RedirectMatch ^/$ /news.php
		 
	</Directory>

	#ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
	#<Directory "/usr/lib/cgi-bin">
	#	AllowOverride None
	#	Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
	#	Order allow,deny
	#	Allow from all
	#</Directory>

	ErrorLog /var/log/apache2/error.log

	# Possible values include: debug, info, notice, warn, error, crit,
	# alert, emerg.
	LogLevel warn

	CustomLog /var/log/apache2/access.log combined
	ServerSignature On

    #Alias /doc/ "/usr/share/doc/"
    #<Directory "/usr/share/doc/">
    #    Options Indexes MultiViews FollowSymLinks
    #    AllowOverride None
    #    Order deny,allow
    #    Deny from all
    #    Allow from 127.0.0.0/255.0.0.0 ::1/128
    #</Directory>

</VirtualHost>

NameVirtualHost 192.168.1.54:81
<VirtualHost 192.168.1.54:81>
	     DocumentRoot /var/www/gg_up1
	<Directory />
		Options FollowSymLinks
		AllowOverride None
	</Directory>
	<Directory /var/www/gg_up1>
		Options Indexes FollowSymLinks MultiViews
		AllowOverride None
		Order allow,deny
		allow from all
		# This directive allows us to have apache2's default start page
                # in /apache2-default/, but still have / go to the right place
                # RedirectMatch ^/$ /apache2-default/
		  RedirectMatch ^/$ /index.html
		 
	</Directory>

	#  ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
	# <Directory "/usr/lib/cgi-bin">
	#	AllowOverride None
	#	Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
	#	Order allow,deny
	#	Allow from all
	# </Directory>

	ErrorLog /var/log/apache2/error.log

	# Possible values include: debug, info, notice, warn, error, crit,
	# alert, emerg.
	LogLevel warn

	CustomLog /var/log/apache2/access.log combined
	ServerSignature On

    #Alias /doc/ "/usr/share/doc/"
    #<Directory "/usr/share/doc/">
    #    Options Indexes MultiViews FollowSymLinks
    #    AllowOverride None
    #    Order deny,allow
    #    Deny from all
    #    Allow from 127.0.0.0/255.0.0.0 ::1/128
    #</Directory>

</VirtualHost>

NameVirtualHost 192.168.1.54:83
<VirtualHost 192.168.1.54:83>
		DocumentRoot /var/www/gabi_up1
	<Directory />
		Options FollowSymLinks
		AllowOverride None
	</Directory>
	<Directory /var/www/gabi_up1>
		Options Indexes FollowSymLinks MultiViews
		AllowOverride None
		Order allow,deny
		allow from all
		# This directive allows us to have apache2's default start page
                # in /apache2-default/, but still have / go to the right place
                # RedirectMatch ^/$ /apache2-default/
		 RedirectMatch ^/$ /index.html
		 
	</Directory>

	#  ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
	# <Directory "/usr/lib/cgi-bin">
	#	AllowOverride None
	#	Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
	#	Order allow,deny
	#	Allow from all
	# </Directory>

	ErrorLog /var/log/apache2/error.log

	# Possible values include: debug, info, notice, warn, error, crit,
	# alert, emerg.
	LogLevel warn

	CustomLog /var/log/apache2/access.log combined
	ServerSignature On

    #Alias /doc/ "/usr/share/doc/"
    #<Directory "/usr/share/doc/">
    #    Options Indexes MultiViews FollowSymLinks
    #    AllowOverride None
    #    Order deny,allow
    #    Deny from all
    #    Allow from 127.0.0.0/255.0.0.0 ::1/128
    #</Directory>

</VirtualHost>
? :-(

[ Dodano: 2008-05-23, 17:09 ]
Tzn. problem w tym, że w internecie chciałabym mieć wszystkie strony na jednym porcie 80

ale w sieci wewnętrznej trzeba zrobić na różnych portach np. :80, :81, :83 bo wynika to z problemu z routerem, że nie da się otworzyć moich stronek wpisując nazwę domeny zewnętrznej!

[ Dodano: 2008-05-23, 17:17 ]
I na dodatek w tym momencie nie otwiera się http://localhost/phpmyadmin co jest dużym problemem!

[ Dodano: 2008-05-23, 17:58 ]
A polskie litery już poprawiłam - tyle umiem! :-(

: 23 maja 2008, 18:12
autor: Yampress
co do zewn/wewn poczytaj sobie to:
http://gorzow-wlkp.pl/linux/apache_vhosts.php

oczywiście weź poprawkę. opis dla mandrake ale samo rozwiazanie vhostów to samo :-P

: 23 maja 2008, 20:35
autor: goska_23
Dzięki! Jutro się za to wezmę, jestem po nieprzespanej nocy w związku z goglowaniem na temat debiana! ;-)

[ Dodano: 2008-06-03, 18:03 ]
Trochę pokombinowałam i w pewien sposób udałoby się pogodzić wyświetlanie stronek i wewnątrz i na zewnątrz ale jeśli robię vhosty to nie działa mi: http://localhost/phpmyadmin co jest nie do przyjęcia - nie umiem zrobić vhosta dla phpmyadmina , szukałam w internecie ale nie udało się mi znależć odpowiedniejgo fragmentu kodu - kombinowałam ze zmianą katalogu phpmyadmina ale nie działa.
Czy jest to może gdzieś zamieszczone jak tego vhosta zrobić?

Kod: Zaznacz cały

NameVirtualHost 91.192.58.243:80 
<VirtualHost 91.192.58.243:80> 
    ServerAdmin [email]biuro@pphu-gabi.az.pl[/email] 
    ServerName [url]www.pphu-gabi.az.pl[/url] 
    ServerAlias pphu-gabi.az.pl 
    DocumentRoot /var/www/brg1 
    <Directory /> 
        Options FollowSymLinks 
        AllowOverride None 
    </Directory> 
    <Directory /var/www/brg1> 
        Options Indexes FollowSymLinks MultiViews 
        AllowOverride None 
        Order allow,deny 
        allow from all 
        # This directive allows us to have apache2's default start page 
                # in /apache2-default/, but still have / go to the right place 
                #RedirectMatch ^/$ /apache2-default/ 
        RedirectMatch ^/$ /news.php 
        
    </Directory> 

    #ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ 
    #<Directory "/usr/lib/cgi-bin"> 
    #    AllowOverride None 
    #    Options ExecCGI -MultiViews +SymLinksIfOwnerMatch 
    #    Order allow,deny 
    #    Allow from all 
    #</Directory> 

    ErrorLog /var/log/apache2/error.log 

    # Possible values include: debug, info, notice, warn, error, crit, 
    # alert, emerg. 
    LogLevel warn 

    CustomLog /var/log/apache2/access.log combined 
    ServerSignature On 

    #Alias /doc/ "/usr/share/doc/" 
    #<Directory "/usr/share/doc/"> 
    #    Options Indexes MultiViews FollowSymLinks 
    #    AllowOverride None 
    #    Order deny,allow 
    #    Deny from all 
    #    Allow from 127.0.0.0/255.0.0.0 ::1/128 
    #</Directory> 

</VirtualHost> 


<VirtualHost 91.192.58.243:80> 
    ServerAdmin [email]sekretariat-gg@g-g-invest-group.katowice.pl[/email] 
    ServerName [url]www.g-g-invest-group.katowice.pl[/url] 
    ServerAlias g-g-invest-group.katowice.pl 
    DocumentRoot /var/www/gg_up1 
    <Directory /> 
        Options FollowSymLinks 
        AllowOverride None 
    </Directory> 
    <Directory /var/www/gg_up1> 
        Options Indexes FollowSymLinks MultiViews 
        AllowOverride None 
        Order allow,deny 
        allow from all 
        # This directive allows us to have apache2's default start page 
                # in /apache2-default/, but still have / go to the right place 
                # RedirectMatch ^/$ /apache2-default/ 
          RedirectMatch ^/$ /index.html 
        
    </Directory> 

    #  ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ 
    # <Directory "/usr/lib/cgi-bin"> 
    #    AllowOverride None 
    #    Options ExecCGI -MultiViews +SymLinksIfOwnerMatch 
    #    Order allow,deny 
    #    Allow from all 
    # </Directory> 

    ErrorLog /var/log/apache2/error.log 

    # Possible values include: debug, info, notice, warn, error, crit, 
    # alert, emerg. 
    LogLevel warn 

    CustomLog /var/log/apache2/access.log combined 
    ServerSignature On 

    #Alias /doc/ "/usr/share/doc/" 
    #<Directory "/usr/share/doc/"> 
    #    Options Indexes MultiViews FollowSymLinks 
    #    AllowOverride None 
    #    Order deny,allow 
    #    Deny from all 
    #    Allow from 127.0.0.0/255.0.0.0 ::1/128 
    #</Directory> 

</VirtualHost> 

<VirtualHost 91.192.58.243:80> 
    ServerAdmin [email]biuro@gabi.katowice.pl[/email] 
    ServerName [url]www.gabi.katowice.pl[/url] 
    ServerAlias gabi.katowice.pl 
    DocumentRoot /var/www/gabi_up1 
    <Directory /> 
        Options FollowSymLinks 
        AllowOverride None 
    </Directory> 
    <Directory /var/www/gabi_up1> 
        Options Indexes FollowSymLinks MultiViews 
        AllowOverride None 
        Order allow,deny 
        allow from all 
        # This directive allows us to have apache2's default start page 
                # in /apache2-default/, but still have / go to the right place 
                # RedirectMatch ^/$ /apache2-default/ 
          RedirectMatch ^/$ /index.html 
        
    </Directory> 

    #  ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ 
    # <Directory "/usr/lib/cgi-bin"> 
    #    AllowOverride None 
    #    Options ExecCGI -MultiViews +SymLinksIfOwnerMatch 
    #    Order allow,deny 
    #    Allow from all 
    # </Directory> 

    ErrorLog /var/log/apache2/error.log 

    # Possible values include: debug, info, notice, warn, error, crit, 
    # alert, emerg. 
    LogLevel warn 

    CustomLog /var/log/apache2/access.log combined 
    ServerSignature On 

    #Alias /doc/ "/usr/share/doc/" 
    #<Directory "/usr/share/doc/"> 
    #    Options Indexes MultiViews FollowSymLinks 
    #    AllowOverride None 
    #    Order deny,allow 
    #    Deny from all 
    #    Allow from 127.0.0.0/255.0.0.0 ::1/128 
    #</Directory> 

</VirtualHost> 

NameVirtualHost 192.168.1.54:80 
<VirtualHost 192.168.1.54:80> 
    
    DocumentRoot /var/www/brg1 
    <Directory /> 
        Options FollowSymLinks 
        AllowOverride None 
    </Directory> 
    <Directory /var/www/brg1> 
        Options Indexes FollowSymLinks MultiViews 
        AllowOverride None 
        Order allow,deny 
        allow from all 
        # This directive allows us to have apache2's default start page 
                # in /apache2-default/, but still have / go to the right place 
                #RedirectMatch ^/$ /apache2-default/ 
        RedirectMatch ^/$ /news.php 
        
    </Directory> 

    #ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ 
    #<Directory "/usr/lib/cgi-bin"> 
    #    AllowOverride None 
    #    Options ExecCGI -MultiViews +SymLinksIfOwnerMatch 
    #    Order allow,deny 
    #    Allow from all 
    #</Directory> 

    ErrorLog /var/log/apache2/error.log 

    # Possible values include: debug, info, notice, warn, error, crit, 
    # alert, emerg. 
    LogLevel warn 

    CustomLog /var/log/apache2/access.log combined 
    ServerSignature On 

    #Alias /doc/ "/usr/share/doc/" 
    #<Directory "/usr/share/doc/"> 
    #    Options Indexes MultiViews FollowSymLinks 
    #    AllowOverride None 
    #    Order deny,allow 
    #    Deny from all 
    #    Allow from 127.0.0.0/255.0.0.0 ::1/128 
    #</Directory> 

</VirtualHost> 

NameVirtualHost 192.168.1.54:81 
<VirtualHost 192.168.1.54:81> 
         DocumentRoot /var/www/gg_up1 
    <Directory /> 
        Options FollowSymLinks 
        AllowOverride None 
    </Directory> 
    <Directory /var/www/gg_up1> 
        Options Indexes FollowSymLinks MultiViews 
        AllowOverride None 
        Order allow,deny 
        allow from all 
        # This directive allows us to have apache2's default start page 
                # in /apache2-default/, but still have / go to the right place 
                # RedirectMatch ^/$ /apache2-default/ 
          RedirectMatch ^/$ /index.html 
        
    </Directory> 

    #  ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ 
    # <Directory "/usr/lib/cgi-bin"> 
    #    AllowOverride None 
    #    Options ExecCGI -MultiViews +SymLinksIfOwnerMatch 
    #    Order allow,deny 
    #    Allow from all 
    # </Directory> 

    ErrorLog /var/log/apache2/error.log 

    # Possible values include: debug, info, notice, warn, error, crit, 
    # alert, emerg. 
    LogLevel warn 

    CustomLog /var/log/apache2/access.log combined 
    ServerSignature On 

    #Alias /doc/ "/usr/share/doc/" 
    #<Directory "/usr/share/doc/"> 
    #    Options Indexes MultiViews FollowSymLinks 
    #    AllowOverride None 
    #    Order deny,allow 
    #    Deny from all 
    #    Allow from 127.0.0.0/255.0.0.0 ::1/128 
    #</Directory> 

</VirtualHost> 

NameVirtualHost 192.168.1.54:83 
<VirtualHost 192.168.1.54:83> 
        DocumentRoot /var/www/gabi_up1 
    <Directory /> 
        Options FollowSymLinks 
        AllowOverride None 
    </Directory> 
    <Directory /var/www/gabi_up1> 
        Options Indexes FollowSymLinks MultiViews 
        AllowOverride None 
        Order allow,deny 
        allow from all 
        # This directive allows us to have apache2's default start page 
                # in /apache2-default/, but still have / go to the right place 
                # RedirectMatch ^/$ /apache2-default/ 
        RedirectMatch ^/$ /index.html 
        
    </Directory> 

    #  ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ 
    # <Directory "/usr/lib/cgi-bin"> 
    #    AllowOverride None 
    #    Options ExecCGI -MultiViews +SymLinksIfOwnerMatch 
    #    Order allow,deny 
    #    Allow from all 
    # </Directory> 

    ErrorLog /var/log/apache2/error.log 

    # Possible values include: debug, info, notice, warn, error, crit, 
    # alert, emerg. 
    LogLevel warn 

    CustomLog /var/log/apache2/access.log combined 
    ServerSignature On 

    #Alias /doc/ "/usr/share/doc/" 
    #<Directory "/usr/share/doc/"> 
    #    Options Indexes MultiViews FollowSymLinks 
    #    AllowOverride None 
    #    Order deny,allow 
    #    Deny from all 
    #    Allow from 127.0.0.0/255.0.0.0 ::1/128 
    #</Directory> 

</VirtualHost> 

NameVirtualHost 192.168.1.54:84 
<VirtualHost 192.168.1.54:84> 
        DocumentRoot /etc/phpmyadmin 
    <Directory /> 
        Options FollowSymLinks 
        AllowOverride None 
    </Directory> 
    <Directory /etc/phpmyadmin> 
        Options Indexes FollowSymLinks MultiViews 
        AllowOverride None 
        Order allow,deny 
        allow from all 
        # This directive allows us to have apache2's default start page 
                # in /apache2-default/, but still have / go to the right place 
                # RedirectMatch ^/$ /apache2-default/ 
        #RedirectMatch ^/$ /index.html 
        
    </Directory> 

    #  ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ 
    # <Directory "/usr/lib/cgi-bin"> 
    #    AllowOverride None 
    #    Options ExecCGI -MultiViews +SymLinksIfOwnerMatch 
    #    Order allow,deny 
    #    Allow from all 
    # </Directory> 

    ErrorLog /var/log/apache2/error.log 

    # Possible values include: debug, info, notice, warn, error, crit, 
    # alert, emerg. 
    LogLevel warn 

    CustomLog /var/log/apache2/access.log combined 
    ServerSignature On 

    #Alias /doc/ "/usr/share/doc/" 
    #<Directory "/usr/share/doc/"> 
    #    Options Indexes MultiViews FollowSymLinks 
    #    AllowOverride None 
    #    Order deny,allow 
    #    Deny from all 
    #    Allow from 127.0.0.0/255.0.0.0 ::1/128 
    #</Directory> 

</VirtualHost>