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! :-(