Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 99761 invoked by uid 500); 7 May 2003 09:16:49 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 99744 invoked from network); 7 May 2003 09:16:49 -0000 Received: from nikon.tranzpeer.net (202.180.66.209) by daedalus.apache.org with SMTP; 7 May 2003 09:16:49 -0000 Received: from p240.nas2.akl.callplus.net.nz ([202.180.97.240] helo=gordon52.slingshot.co.nz) by nikon.tranzpeer.net with esmtp (Exim 4.04) id 19DL2g-0008Ps-04 for users@httpd.apache.org; Wed, 07 May 2003 21:16:50 +1200 Message-Id: <5.2.0.9.0.20030507212353.00a2ea70@mail.slingshot.co.nz> X-Sender: gordon52@mail.slingshot.co.nz X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Wed, 07 May 2003 21:34:05 +1200 To: users@httpd.apache.org From: Gordon Stewart In-Reply-To: Mime-Version: 1.0 Content-Type: multipart/mixed; x-avg-checked=avg-ok-340D349B; boundary="=======7E82168D=======" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: RE: [users@httpd] Error Logs --=======7E82168D======= Content-Type: text/plain; x-avg-checked=avg-ok-340D349B; charset=us-ascii; format=flowed Content-Transfer-Encoding: 8bit At 12:30 AM 5/7/03 Boyle Owen wrote:- > >-----Original Message----- > >From: Gordon Stewart [mailto:gordon52@slingshot.co.nz] > > > >I'll check the verbose thing later > >I don't wish to appear snooty, but you should check the docs *first* and >post on mailing lists *later*... I do that - except the docs are written by an expert, & he/she expects the end user to be an expert. (not enough explanations) > > > >Yes - Ive got modules/mod_rewrite.so Ok - How do I 'request' that >module ? > >I meant "request" at compilation time. If you have a .so file then >that's OK; you must've requested it (--enable-shared=rewrite >--enable-module-rewrite) or, since you are are on Windows, maybe it was >already present in the distro you installed. Since you have it, your >LoadModule line should work. Ive got that module... >The problem must therefore be with the syntax of your rewrite directives >(casting these is not trivial...). Since this is getting off the topic >of error logs, would you mind reposting your original problem (use the >old thread if you like) but with some additional data: > >- what URL do you want to rewrite? >- what do you want it rewritten to? >- what *exactly* is happening (please don't say "it doesn't work" :-) Ok - Ive edited my HOSTS file on my win 98, so that http://group.kwister.com goes to my server website (not the main 24/7 live website) This works - I now see the HTML of the website on my Apache server - Main website (My PC not an internet live seever) Now - I WANT :- when someone goes to group.kwister.com - I want a CGI script to be activated eg http://www.kwister.com/cgi-bin/group/view.cgi (its only on my PC now - not the main server as yet) >You might also like to activate the RewriteLog and see what's happening >there. Check the docs for details.... Yes - Ive checked the logs & the docs Ive got these two lines in the httpd.conf & re-booted :- RewriteLog "/Program Files/Apache Group/Apache2/logs/rewrite.log" RewriteLogLevel 9 As yet - when I go to http//group.kwister.com - it still shows the main HTML page - Not the CGI script. The actual rewrite codes ive got in my .htaccess file is :- (not including the dotted lines) -------------------- Options +Includes RewriteEngine On Options +FollowSymlinks RewriteBase / RewriteCond %{HTTP_HOST} group.kwister.com RewriteCond %{REQUEST_URI} !cgi-bin/groups/view.cgi RewriteRule ^(.*)$ cgi-bin/groups/view.cgi [L] -------------------- Ps - Ive checked the rewrite log file - NOTHING is shown there (but the server does create one) Even though its level 9 - Which should log MOST / ALL the errors/warnings in rewriting codes) does that make sense ? G. --=======7E82168D======= Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org --=======7E82168D=======--