This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
sermn_wiki:userpages:marta:servidor_web [2011/04/26 18:05] miquel |
sermn_wiki:userpages:marta:servidor_web [2012/10/24 15:33] (current) miquel [Antic servidor web a rmn3] |
||
---|---|---|---|
Line 85: | Line 85: | ||
< | < | ||
- | # / | + | # / |
Kernel Interface table | Kernel Interface table | ||
eth0 Link encap: | eth0 Link encap: | ||
Line 215: | Line 215: | ||
* [[.: | * [[.: | ||
+ | |||
+ | He modificat la configuració del servidor web per tal que les peticions a " | ||
+ | |||
+ | Per això, seguint les instruccions a, | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | |||
+ | he afegit les següents instruccions, | ||
+ | |||
+ | <code http> | ||
+ | NameVirtualHost 192.168.2.2: | ||
+ | |||
+ | < | ||
+ | ServerAdmin webmaster@localhost | ||
+ | |||
+ | ServerName rmn3.uab.cat | ||
+ | ServerAlias rmn3.uab.es | ||
+ | ServerAlias rmn3 | ||
+ | |||
+ | Redirect 301 / http:// | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | ServerAdmin webmaster@localhost | ||
+ | |||
+ | # ServerName sermnserver.sermn.net | ||
+ | # ServerAlias sermnserver | ||
+ | |||
+ | ServerName sermn.uab.cat | ||
+ | ... | ||
+ | </ | ||
+ | |||
+ | al fitxer // | ||
+ | |||
+ | | {{: | ||
+ | |||
+ | Alternativament, | ||
+ | |||
+ | <code http> | ||
+ | HTTP/1.1 301 Moved Permanently => | ||
+ | Date => Wed, 24 Oct 2012 13:20:01 GMT | ||
+ | Server => Apache/ | ||
+ | Location => http:// | ||
+ | Vary => Accept-Encoding | ||
+ | Content-Length => 307 | ||
+ | Connection => close | ||
+ | Content-Type => text/html; charset=iso-8859-1 | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Comprovar el rànquing ===== | ||
+ | |||
+ | Per comprovar el rànquing del lloc web es poden fer servir les //Webmaster tools// a Google o altres serveis com, | ||
+ | * [[http:// | ||
+ | |||