Apache - creacion de un Alias
Vamos a ver algo sencillo de hacer.
Un Alias es eso mismo, un alias, jeje.
Se utiliza cuando queremos correr una aplicacion bajo servidor Apache , pero la misma no se encuentra en el Document Root que por lo general es “/var/www”
supongamos que mi aplicacion se encuentra en “/usr/share/miaplicacion”
entonces editamos el archivo de configuracion de apache:
$sudo gedit /etc/apache2/apache2.conf
y al final del mismo agregarmos el siguiente texto:
alias /miapp “/usr/share/miaplicacion”
<Directory “/usr/share/miaplicacion”>
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
y reiniciamos apache:
$sudo /etc/init.d/apache2 restart
de ahora en mas cuando queremos ejecutar nuestra aplicacion que se encuentra en /usr/share/miaplicacion, simplemente tenemos que ir a la url “http://localhost/miapp”
February 26th, 2010 at 3:57 pm
Thanks… Still another super way of seeing things, it’s why we arrive to your website usually.
CHANG
April 5th, 2010 at 8:21 am
Forced Men
April 5th, 2010 at 8:22 am
Aaron Summers
April 5th, 2010 at 8:23 am
Jennique Adams
April 5th, 2010 at 8:24 am
Naughty Paige
April 5th, 2010 at 8:26 am
Hot Lesbian Sex
April 5th, 2010 at 8:27 am
Cruelty Party
April 5th, 2010 at 8:29 am
Zoe Fuck Puppet
April 5th, 2010 at 8:30 am
Granny Ultra
April 5th, 2010 at 8:31 am
Faith Exposed
April 5th, 2010 at 8:32 am
Robin Rivers
April 5th, 2010 at 8:33 am
Brittany Avalon
April 5th, 2010 at 8:35 am
Club Redlight
April 5th, 2010 at 8:36 am
Boozed GFs
April 5th, 2010 at 8:37 am
Pantyhose Sexy Legs
April 5th, 2010 at 8:38 am
BJ Fantasies
April 5th, 2010 at 8:39 am
Evilyn Machine
April 5th, 2010 at 8:41 am
123 Jenny Juggs
April 5th, 2010 at 8:42 am
Kimber James