LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-11-2011, 06:40 AM   #1
pawelch
LQ Newbie
 
Registered: Jul 2010
Posts: 26

Rep: Reputation: 0
[www server] [any linux] dynamic proxy for apache or something else


Hi all,
just a quick question.
I was wondering if it is possible to do the following:

suppose there is a www and it contains 3 pages: aboutus.php, index.php and contactus.php within each side there are 3 other pages you could say 1*.php,2*.php,3*.php, where * stands for any of {aboutus,index,contactus}. I was wondering how, if it is possible, to implement the following mechanism.

If users requires 2a.php go to aboutus/2aboutus.php or if it is 1i.php then go to index/1index.php. What this does it translates addresses that user requires into the original links that are stored at the server. Then, if I want to change the translation I just change the naming convention say 22a.php or 11i.php and updates my mapping mechanism.

Is it possible to implement it with mod_proxy_http ? so that you could dynamically (at once, without restarting apache and without any delays) change this mapping to whatever you want ? maybe there is another module I should look at ? Or shall I implement it myself?

thank you for your answers,

Cheers!
 
Old 05-11-2011, 11:10 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,524

Rep: Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503
Hi,

You can use mod_rewrite for this.

Regards
 
1 members found this post helpful.
Old 05-11-2011, 11:51 AM   #3
pawelch
LQ Newbie
 
Registered: Jul 2010
Posts: 26

Original Poster
Rep: Reputation: 0
thank you for your suggestion
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Linux configure pound reverse proxy for Apache http / https web server LXer Syndicated Linux News 0 12-14-2007 08:20 PM
Home Server Dynamic IP Apache WebDAV query smudge|lala Linux - Networking 8 03-13-2006 09:40 PM
apache server setup and how to place files in the var/www/html directory dramous Linux - Newbie 7 09-28-2004 05:18 AM
apache server setup and how to place files in the var/www/html directory dramous Linux - General 2 09-25-2004 02:29 AM
Apache Web Server - access from the www vesta41 Linux - Software 8 01-07-2004 07:55 PM


All times are GMT -5. The time now is 05:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration