Re: How to run a static html page as a section of django website?

2009-08-22 Thread Bins
Done. thanks Heather and all of you who helped me achive when I was looking for.. Thanks a ton.. On Aug 22, 6:44 am, Heather wrote: > I think this is what you're looking for then... > > in your httpd.conf or httpd-vhosts.conf or wherever you set up django > in apache: > > >  

Re: How to run a static html page as a section of django website?

2009-08-21 Thread Heather
I think this is what you're looking for then... in your httpd.conf or httpd-vhosts.conf or wherever you set up django in apache: SetHandler None On Aug 21, 3:12 pm, Bins wrote: > mod_python. > > On Aug 21, 6:37 pm, Heather wrote: > > > > > So are

Re: How to run a static html page as a section of django website?

2009-08-21 Thread Bins
mod_python. On Aug 21, 6:37 pm, Heather wrote: > So are you using mod_wsgi or mod_python? > > On Aug 21, 9:24 am, Bins wrote: > > > > > Thanks Matthias, Carlos & Heather for your help. > > > I tried direct_to_template in url.py in django as suggested by

Re: How to run a static html page as a section of django website?

2009-08-21 Thread Bins
Thanks Matthias, Carlos & Heather for your help. I tried direct_to_template in url.py in django as suggested by Carlos, but didn't work. What Matthias suggested, serving static files on the production server, is little out of my abilities as I ain't no django or python expert. My site was made

Re: How to run a static html page as a section of django website?

2009-08-21 Thread Heather
So are you using mod_wsgi or mod_python? On Aug 21, 9:24 am, Bins wrote: > Thanks Matthias, Carlos & Heather for your help. > > I tried direct_to_template in url.py in django as suggested by Carlos, > but didn't work. > > What Matthias suggested, serving static files on

Re: How to run a static html page as a section of django website?

2009-08-20 Thread Heather
I think you are saying you want to have a page on your site that doesn't go through Django - is that right? I'm assuming you're using Apache and so you have to be using mod_python or mod_wsgi - is this what you're doing? Your answer would depend on which module you are using. If you are using

Re: How to run a static html page as a section of django website?

2009-08-20 Thread Carlos A. Carnero Delgado
Hi, On Thu, Aug 20, 2009 at 4:42 PM, Bins wrote: > > I've a django powered blog, say http://example.com. I desire to make a > section http://example.com/htmlpage/ and run a simple static html page > at the url. > > How to I do it? *maybe* direct_to_template will help? More

Re: How to run a static html page as a section of django website?

2009-08-20 Thread Matthias Kestenholz
On Thu, Aug 20, 2009 at 10:42 PM, Bins wrote: > > I've a django powered blog, say http://example.com. I desire to make a > section http://example.com/htmlpage/ and run a simple static html page > at the url. > > How to I do it? > > I tried putting my file folder into my