Development Software
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb Site ManagementDevelopment Software

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
  #1  
Old April 5th, 2005, 08:28 PM
corel123 corel123 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 9 corel123 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 23 m 52 sec
Reputation Power: 0
help! seems I can not start the mod_rewrite function

I am new bie to mod_rewrite and before I can digest the mass of the howto in regular expression, I just want to begin my mod_rewrite function as helloworld, but neither the below setting(all in the root context of httpd.conf) fail, didnt work at all.

case A:
LoadModule rewrite_module modules/mod_rewrite.so
RewriteEngine On
RewriteRule ^old\.html$ index.html [L]
RewriteLog /usr/local/apache/apache2.0.44/logs/rewrite.log

case B:
LoadModule rewrite_module modules/mod_rewrite.so
RewriteEngine On
RewriteRule ^hello\.java\.net\.nl$ http://www.java.net.nl/hello/test.jsp
RewriteLog /usr/local/apache/apache2.0.44/logs/rewrite.log

Not only it response nothing(404), but also I found nothing in the rewrite.log,too; but in the access_log, I can found the records as below:

[05/Apr/2005:23:33:23 -0400] 0 "GET /old.html HTTP/1.1" 404 206 "- -> /old.html"
192.168.0.11 - - [05/Apr/2005:23:55:43 -0400] 0 "GET / HTTP/1.1" 400 0 "- -> /index.jsp"

the behind one logged for hello.java.net.nl request, however, seems response by the behind virtualhost setting:
<VirtualHost 192.168.0.10:80>
ServerName www.java.net.nl
DocumentRoot /home/jakarta/tomcat5/webapps/app
</VirtualHost>
however, the /index.jsp is existed but do not response,too.(it is not this topic, just skipped)

I thought the mod_rewirte didnot work at all? am I right?
what I has not to do but necessary?
my system is apache2.0.44, all install by one complie, the mod_rewirte inside as default.

thanks for any tips.
Frederick z Corel

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb Site ManagementDevelopment Software > help! seems I can not start the mod_rewrite function


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway