Alias? - Networking
This is a discussion on Alias? - Networking ; I run a linux server for my site and want www.domain.com/something to
display the content of www.domain.com/cgi-bin/script?value=something
to make the URLs cleaner.
I know this can be achieved, but not sure what the most solid solution
is, htacces? redirect? alias?
...
-
Alias?
I run a linux server for my site and want www.domain.com/something to
display the content of www.domain.com/cgi-bin/script?value=something
to make the URLs cleaner.
I know this can be achieved, but not sure what the most solid solution
is, htacces? redirect? alias?
Thanks for any help!
-
Re: Alias?
nordnewyorker writes:
> I run a linux server for my site and want www.domain.com/something to
> display the content of www.domain.com/cgi-bin/script?value=something
> to make the URLs cleaner.
> I know this can be achieved, but not sure what the most solid solution
> is, htacces? redirect? alias?
mod_rewrite[1].
> Thanks for any help!
References:
[1] - http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html
Ashish
--
·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAkirNqcACgkQHy+EEHYuXnT2EgCfaEktgbV3FM Qm7remxg78VgsR
hRYAn2wZhnWXeX/t4ku128rNJIYbXzvd
=lvow
-----END PGP SIGNATURE-----