httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krist van Besien" <krist.vanbes...@gmail.com>
Subject Re: [users@httpd] editing httpd.conf file through shell script
Date Wed, 18 Jun 2008 14:44:39 GMT
On Wed, Jun 18, 2008 at 15:39, Agnello George <agnello.dsouza@gmail.com> wrote:

> now through a shell script i need to add mime type  for domain vodafone.com
> , i would  need to add the following bellow "DoucmentRoot"
>
> AddType application/x-httpd-php .php
>
> AddType application/x-httpd-php-source .phps
>
> How can this be done ? would i need to know Perl scripting ..or can this be
> done without the knowledge of Perl

This can be done with any scripting language capable of processing
text files (ie. most of them), and you will need to know the language
you choose to use for this. If you really want to build a control
panel that manipulates the httpd.conf you will have to learn how to
program.

Krist

-- 
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> 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


Mime
View raw message