[ Shejn @ 10.05.2006. 09:13 ] @
Da li bi neko mogao da mi pomogne u sledećem problemu. Naime, radi se o sledećem: Uplatio sam Hosting internet portala kod jednog provajdera (registrovao sam domen i imam fiksnu IP adresu). Pošto želim da se prezentacija (fizički) nalazi na mom serveru uradio sam redirekciju sa sajta provajdera sa: <html> <head></head> <body> <meta http-equiv='refresh' content='0;url=http://xxx.xxx.xx.xx/index.html'> </body> </html> , na moj server, i to radi OK. Problem je što se umesto mog domena http://www.ime_domena.co.yu u Pretraživaču vidi IP adresa http://xxx.xxx.xx.xx/index.html. Koristim Apache2, i njegov config izgleda ovako: NameVirtualHost * <VirtualHost *> ServerName www.ime_domena.co.yu DocumentRoot /var/www/ ServerAdmin webmaster@ime_domena.co.yu <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www/> 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/ </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> KAKO DO http://www.ime_domena.co.yu ? [Ovu poruku je menjao Shejn dana 10.05.2006. u 13:17 GMT+1] |