Java Mailing List Archive

http://www.apache-httpd.com/

Home » users.httpd »

Re: [users@httpd] editing httpd.conf file through shell script

Krist van Besien

2008-06-18

Replies: Find Java Web Hosting

Author LoginPost Reply
On Wed, Jun 18, 2008 at 15:39, Agnello George <agnello.dsouza@(protected):

> 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@(protected)
krist@(protected)
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@(protected)
 "  from the digest: users-digest-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.