Re: Sesiones del tipo hotmail
| From: | Gustavo Castro | Date: | Sat, 29 Nov 2003 01:50:37 +0000 |
| Subject: | Re: Sesiones del tipo hotmail | ||
| References: | 1 2 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-43129@lists.php.net to get a copy of this message | ||
Ok Muchas Gracias estoy preguntando en mi server si eso esta habilitado o lo
pueden habilitar para un sitio mio.
Igual voy a configurar en mi servidor en casa para probarlo.
Saludos
Gustavo
"Th3 Th1nk3r" <THINKER@mail.ono.es> wrote in message
news:200311281858.16773.THINKER@mail.ono.es...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Stardate Thursday 27 November 2003 17:14
Capt. Lord th1nk3r
Class C-1 msg from Gustavo Castro
> Vuelvo a preguntar: necesito saber como se hace para crear sesiones pero
> que accedan a directorios virtuales
> que tienen el numero de sision de esta manera se tiene seguridad adicional
> ya que nadie sabe la ubicacionexacta de los directorios con los documentos
> del sitio.
Ya te dije que buscaras un poco en google ;)
Usa mod_rewrite en apache. Ejemplos y mas info en:
http://httpd.apache.org/docs/mod/mod_rewrite.html
http://techrepublic.com.com/5100-6329-5068743.html
y si no te apetece buscar mucho (que deberias antes de pedir), esto esta
directamente traducido de la seccion de tips de Zend...
Puedes tener http://mydomain.com/test/ en tu browser y leer
/www/mydomain/index.php?url=/test/ con apache gracias a mod_rewrite:
Escribe esto en tu <virtualhost> (no en .htaccess) :
RewriteEngine On
RewriteRule ^(/[^/]+) /index.php?url=$1
Y como este puedes buscar miles de ejemplo, solo preguntale a google sobre
mod_rewrite y veras ;)
Byez
- --
- -----------------------------------------------------------
Jabber ID: th1nk3r@jabber.org
GNU/Linux User# 266578
http://www.blacklord.net/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/CM d-- s: a? C++++ UL+++ P >++ L+++ E--- W+++ N-- o-- K--- w--- O M-
V-
PS+++ PE-- Y++ PGP+++ t+ 5+ X+++ R+++ tv-- b++ DI++ D++ G e+++ h r++ y+
------END GEEK CODE BLOCK------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/x4y49X37eu+C1nQRAp2cAKCwCS9AVhcqsXrnVJdkpKKE1gjQHACgsUni
46VY3++0AsqzuzG6D1MwzbE=
=DVc4
-----END PGP SIGNATURE-----
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.543 / Virus Database: 337 - Release Date: 21/11/2003