?
Solved

In compatibility problems

Posted on 2006-10-30
2
Medium Priority
?
191 Views
Last Modified: 2010-03-04
We are trying to migrate applications from one server to another in Apache.

one server(x1) running apache 1.3  and another server(x2) running apache 2.0
1.3 apache version doesnt have any mod rewrite function, but 2.0 apache version
has mod rewrite function.

when we forward all the pages from one server (x2) to (x1) redirect works just fine,
but when we redirect pages from x1 to x2 redirect doesnt work.


please provide suggestions..

-------------------
The following inquiries are in regards to mod_rewrite running on apache 1.3:

1.  Need to determine if the module is loaded.

2.  Need to load it if it is not already loaded.

3.  If it is already loaded, need to know how to activate it.

0
Comment
Question by:shihabf
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Author Comment

by:shihabf
ID: 17852621
any one could answer
0
 
LVL 19

Accepted Solution

by:
ramazanyich earned 1500 total points
ID: 17854043
to know which module are compiled in Apache1.3 you can invoke from command line:
/usr/local/apache/bin/httpd -l (or on windows C:\apache\apache.exe -l)

If module is not the list you need to recompile apache with additional option:
--enable-module=rewrite (see http://httpd.apache.org/docs/1.3/install.html for details about compilation and installation)

once module is installed then you can start using it by adding following lines:

RewriteEngine  on
RewriteRule ....

more detailed info about mod rewrite and url rewritig guides are on
http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html
and
http://httpd.apache.org/docs/1.3/misc/rewriteguide.html
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question