Oh wow! I think you may have solved my problem.
If what you are saying that I can just separate code from httpd.conf into a file, then WOW! That's it!
I'm gonna try that now!
So in short, I can just put the mod_rewrite part into a file and put include in that particular virtual host.
Thank you soooo much!
fritz <www.mesedilla.com>
senior systems administrator
summit interactive, inc.
www.fhm.com.ph | www.femalenetwork.com | www.candymag.com
---
+basta ikaw Lord
> -----Original Message-----
> From: Sherwood Robinson [mailto:srobinson@fredericksburg.com]
> Sent: Friday, December 21, 2001 10:10 PM
> To: maillists@summitmedia.com.ph; zope@zope.org
> Subject: RE: [Zope] mod_rewrite map
>
>
> Guess it was not clear as to what you want to do... if your trying to
> mod_rewite for a different virtual hosts but you are using the same
> mod_rewite you can do the same thing just change it a little.
>
> Put your mod_rewite code in the file and include the file
> instead of the
> directory within each of your VH settings.
>
> Include "path_to_doc/file"
>
> am I getting closer to what you want to do?
>
> most Apache settings are really dynamic an flexible with how
> you can use them.
>
> SR
>
> At 09:25 AM 12/21/2001 +0800, maillists@summitmedia.com.ph wrote:
>
> >Thank you so much!
> >This can be a big help.
> >
> >However, this is just an alternative to having mod_rewrite
> in separate files.
> >
> >I am still thankful of your help.
> >
> >fritz <www.mesedilla.com>
> >senior systems administrator
> >
> >summit interactive, inc.
> >www.fhm.com.ph | www.femalenetwork.com | www.candymag.com
> >---
> >+basta ikaw Lord
> >
> > > -----Original Message-----
> > > From: Sherwood Robinson
> >
> [<mailto:srobinson@fredericksburg.com>mailto:srobinson@frederi
> cksburg.com]
> > > Sent: Friday, December 21, 2001 01:14 AM
> > > To: maillists@summitmedia.com.ph; zope@zope.org; Chris Withers
> > > Subject: RE: [Zope] mod_rewrite map
> > >
> > >
> > > I use Apache mod_rewite with VHM and have no problems at
> all. I use
> > > separate config files for each Virtual Host.
> > >
> > > To do this just tell Apache in the bottom of your
> httpd.conf file to
> > > process a folder. Any document in this folder will be
> > > treated as a part of
> > > the httpd.conf file
> > >
> > > here is the httpd.conf line to add:
> > >
> > > Include "Path to folder"
> > >
> > > inside this folder I store all virtual domain information in
> > > separate files
> > > per virtual domain named according to that domain. These are
> > > simple text
> > > files with the virtualhost command and directives including
> > > the mod_rewite
> > > commands for that virtual domain.
> > >
> > > Hope this helps!
> > >
> > > SR
> > >
> > > At 12:50 AM 12/21/2001 +0800, maillists@summitmedia.com.ph wrote:
> > >
> > > >Oh. I'm sorry I wasn't very clear.
> > > >I currently have apache/mod_rewrite in front of zope/zeo.
> > > >
> > > >Thus, to lessen clutter on httpd.conf, I want to put all
> > > rewrites in a
> > > >file and call it from there.
> > > >My main problem comes when VirtualHostMonster is involved.
> > > >rewritemap doesn't seem to work properly.
> > > >
> > > >If someone has implemented this, PLEASE help me. Thanks.
> > > >
> > > >fritz <www.mesedilla.com>
> > > >senior systems administrator
> > > >
> > > >summit interactive, inc.
> > > >www.fhm.com.ph | www.femalenetwork.com | www.candymag.com
> > > >---
> > > >+basta ikaw Lord
> > >
> > > ----------------------------------------------------
> > > Sherwood Robinson
> > > Hostmaster
> > > The Free Lance-Star/Internet Department
> > > srobinson@fredericksburg.com
> > > <http://www.fredericksburg.com>http://www.fredericksburg.com
> > >
> > > 616 Amelia St.
> > > Fredericksburg, VA 22401
> > > 540-374-5000 ext. 5657
> > >
> > >
>
> ----------------------------------------------------
> Sherwood Robinson
> Hostmaster
> The Free Lance-Star/Internet Department
> srobinson@fredericksburg.com
> http://www.fredericksburg.com
>
> 616 Amelia St.
> Fredericksburg, VA 22401
> 540-374-5000 ext. 5657
>
>