I need to find a way to automate the deployment of my apache configuration to a few servers. I make change frequently on apache/conf/... etc, and I usually do this manually by copying files to each servers(and country config path)and restart apache servers.Source file will be like california.config,Newyork.config.
It would be nice if I could give git link with revision number, and it automates the deployment process.
Last edited by rbatte1; 08-23-2017 at 08:11 AM..
Reason: Added CODE tags
I have a few to questions pose in response first:-
What have you tried so far?
What output/errors do you get?
What OS and version are you using?
What are your preferred tools? (C, shell, perl, awk, etc.)
What logical process have you considered? (to help steer us to follow what you are trying to achieve)
Most importantly, What have you tried so far?
There are probably many ways to achieve most tasks, so giving us an idea of your style and thoughts will help us guide you to an answer most suitable to you so you can adjust it to suit your needs in future.
We're all here to learn and getting the relevant information will help us all.
HI
i was trying to configure logrotate for my apache server and it's not working properly.
Os: Red Hat 6
here is my lodrotate configuration
/var/log/httpd/*log {
daily
missingok
notifempty
sharedscripts
compress
delaycompress
postrotate
... (3 Replies)
HI
i was trying to configure logrotate for my apache server and it's not working properly.
here is my lodrotate configuration
/var/log/httpd/*log {
daily
missingok
notifempty
sharedscripts
compress
delaycompress
postrotate
/sbin/service httpd... (1 Reply)
I am running apache 2 on centos 7 which is running ipv4 , now I would like to enable it to support ipv6 , would advise what I need to change to Adding IPv6 support to the server ? or nothing need to do ?
the existing vhosts is as below .
<VirtualHost *:80>
ServerAdmin xxx.com.hk
"
"... (2 Replies)
I am extremely new to Apache httpd configuration. Can you please help here below is my requirement.
If the URL match existing resource - return resource.
If the URL doesn't match existing resource it should return index.html from the app root directory.
Apps root directories are:
1.... (0 Replies)
I am new in Linux configure Apache. I got few questions to ask. I am will grateful for the help. Thanks.
1) In the Apache Configuration File, where is actually the base for the web tree?
2) I wanted to create a directory (called java) inside the base of the web tree. How am I going to do... (5 Replies)
Dear Sir,
I want to configure my website in such a way that, if some one browse by site from USA it should display a different page e.g domain.com/usa1.html.Similarly when someone browse it from U.K it should display domain.com/uk1.html
This is the features used by google.com .
Please... (1 Reply)
I seem to have an issue with Apache configurationon our Sun solaris Server.
Since there are 2 my_app instances running in parallel, the perl modules in my_app_perl_libs are getting shared
between them, even though they are in different directories (/u01/my_app and /u01/my_app8).
This is because... (1 Reply)
Hi. I run openbsd and apache 1.3.29
PHP/4.3.9 mod_perl/1.29 DAV/1.0.3 mod_ssl/2.8.16 OpenSSL/0.9.7c
anyway,problem is i have in httpd.conf allow override all in /dir1
and 2 directories
/dir1/.htaccess is
AuthType Basic
AuthName "Password Required"
AuthUserFile /passwords/password.file... (1 Reply)