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 [2012/10/24 15:08] miquel [Antic servidor web a rmn3] |
sermn_wiki:userpages:marta:servidor_web [2012/10/24 15:33] (current) miquel [Antic servidor web a rmn3] |
||
---|---|---|---|
Line 218: | Line 218: | ||
He modificat la configuració del servidor web per tal que les peticions a " | He modificat la configuració del servidor web per tal que les peticions a " | ||
- | Per això, | + | Per això, |
+ | * [[http://www.askdavetaylor.com/how_do_i_add_a_301_redirect_to_my_apache_httpdconf.html | How do I add a 301 redirect to my Apache httpd.conf? | ||
+ | * [[http:// | ||
+ | * [[http://www.yolinux.com/TUTORIALS/ApacheRedirect.html | Apache Web Server Configuration for Web Site Redirection]] | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | |||
+ | he afegit les següents instruccions, | ||
<code http> | <code http> | ||
Line 230: | Line 238: | ||
ServerAlias rmn3 | ServerAlias rmn3 | ||
- | Redirect 301 / http:// | + | Redirect 301 / http:// |
- | + | ||
</ | </ | ||
Line 244: | Line 251: | ||
</ | </ | ||
- | per definir un nou servidor virtual associat al hostname " | + | 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:// | ||