Solved

In compatibility problems

Posted on 2006-10-30
2
187 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
2 Comments
 

Author Comment

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

Accepted Solution

by:
ramazanyich earned 500 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Leverage Browser Caching 7 67
IPA - can it be run on a web server? 3 175
Re-negotiation handshake failed: Not accepted by client!? 8 492
htaccess restrict subdomain 4 112
As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
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 …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

776 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