Jan 24, 2005 #1 captlid Technical User Joined Oct 27, 2004 Messages 82 Location US I am running apache 1.3x and I was wondering how does one redirect a user to another port. say the user types in http://www.domain.com, apache should redirect the user to http://www.domain.com:200 thanks,
I am running apache 1.3x and I was wondering how does one redirect a user to another port. say the user types in http://www.domain.com, apache should redirect the user to http://www.domain.com:200 thanks,
Jan 24, 2005 #2 Deleted Technical User Joined Jul 17, 2003 Messages 470 Location US You can either use mod_rewrite or a simple perl script to do the redirect. Code: #!/usr/bin/perl -w print "location:[URL unfurl="true"]http://domain.com:8080\n\n";[/URL] http://unixjunky.com Upvote 0 Downvote
You can either use mod_rewrite or a simple perl script to do the redirect. Code: #!/usr/bin/perl -w print "location:[URL unfurl="true"]http://domain.com:8080\n\n";[/URL] http://unixjunky.com
Jan 25, 2005 Thread starter #3 captlid Technical User Joined Oct 27, 2004 Messages 82 Location US thanks can you elaborate on how to use mod rewrite, thanks Upvote 0 Downvote
Jan 27, 2005 #4 Wishdiak Technical User Joined Mar 7, 2004 Messages 1,787 Location US captlid, Some good info about mod_rewite can be found at http://httpd.apache.org/docs/mod/mod_rewrite.html and http://httpd.apache.org/docs/misc/rewriteguide.html. Wishdiak A+, Network+, MCSA 2003 certified http://www.wishdiak.com Upvote 0 Downvote
captlid, Some good info about mod_rewite can be found at http://httpd.apache.org/docs/mod/mod_rewrite.html and http://httpd.apache.org/docs/misc/rewriteguide.html. Wishdiak A+, Network+, MCSA 2003 certified http://www.wishdiak.com