Re: editing httpd.conf file through shell script

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

 



On Wed, Jun 18, 2008 at 15:39, Agnello George <agnello.dsouza@xxxxxxxxx> 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@xxxxxxxxx
krist@xxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux