Re: How to apply Apache directives to 'dynamic' HTML?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 10:08 PM +0100 10/9/07, Chris G wrote:
>I am using the default apache 2.2 configuration in Fedora 7 as server
>on my home Linux box.  It's all working much as I want but I have one
>issue that I can't find any really straightforward information about.
>
>How does one apply apache directives to web pages that are generated
>by a CGI script?
>
>I am running pyBlosxom (a python blog server) as a blog for personal
>notes, I want to set the default character set for only the blog pages
>to iso-8859-1 rather than the default utf-8.  How do I do this?
>
>If it was just simple HTML then I'd do something like:-
>
><Directory /the/directory/with/html/files>
>    AddDefaultCharset ISO-8859-1
></Directory>
>
>(I think!)  However I don't see how to apply this to files which are
>dynamically served by a CGI script, i.e. the URL is something like:-
>
>    http://my.home.system/cgi-bin/pyblosxom.py/wiki/directory/file
>
>What (if anything) do I put in the <Directory ....>?

My first guess would be to try <Directory /cgi-bin/pyblosxom.py>, and my
second would be to try <Location...>.  Of course, as others have said, the
script can do it itself.
-- 
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson@xxxxxxxxxxxxxxxxx>
      '                              <http://www.georgeanelson.com/>

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux