RE: [QUESTION] How to include content from another site (on the same server)?

2006-10-19 Thread Chris Schults
> Come to think of it, you'll want to combine mod_rewrite and mod_proxy > - I think there's an example of how to do this on the mod_rewrite > docs. Thanks Mark. I've read the online docs and tried to make sense of them the best I can. I couldn't seem to find an example similar to mine though. Chr

Re: [QUESTION] How to include content from another site (on the same server)?

2006-10-19 Thread Jonathan
off the top of my head.. a- use an ssi or include to the file, but just use an absolute path, or create a synlink so it falls into an easily readable section. if its on the same machine, unless apache is jailed, there's a way to get to your data. b- query the blog's cms s

Re: [QUESTION] How to include content from another site (on the same server)?

2006-10-19 Thread Mark Maunder
Come to think of it, you'll want to combine mod_rewrite and mod_proxy - I think there's an example of how to do this on the mod_rewrite docs. On 10/19/06, Mark Maunder <[EMAIL PROTECTED]> wrote: Chris, I've done something like this with mod_proxy. You can map url's to external hosts and mod_pro

RE: [QUESTION] How to include content from another site (on the same server)?

2006-10-19 Thread Chris Schults
> If the blog content is generated dynamically Im assuming its content is stored > in a database somewhere. Why not write ssi inc to fetch the data > and output it. Aaron, you are quite correct that the content is in a database, which is managed by the blog's content management system. The conte

[QUESTION] How to include content from another site (on the same server)?

2006-10-19 Thread Chris Schults
Hello all. First post from a mod_perl newbie ... I have a website (www.example.org) and a blog (blog.example.org), which are both hosted on the same server and I believe are running under the same instance of Apache (1.3.37). The OS is freeBSD 4.9. Specifically, on the website, I have a static HT

RE: Reading PerlSetVar in mod_perl2

2006-10-19 Thread Perrin Harkins
On Thu, 2006-10-19 at 13:22 +0530, [EMAIL PROTECTED] wrote: > Thanks Perrin for the reply, > >Most likely you are not actually in the Location block that you think > you're in > I am on the same Location block What does $r->location() tell you? Make sure you are loading Apache2::RequestUtil. >

RE: Reading PerlSetVar in mod_perl2

2006-10-19 Thread khan.sajid
Thanks Perrin for the reply, >Most likely you are not actually in the Location block that you think you're in I am on the same Location block >here's probably something wrong with another part of your conf file which is preventing the request from actually being >>handled by this block. May be,