search for: apachectl

Displaying 20 results from an estimated 56 matches for "apachectl".

2003 Nov 13
2
Apache leaks sensitive info in PHP phpinfo() calls
...: change-request >Release: FreeBSD 4.8-STABLE i386 >Environment: System: FreeBSD users.munk.nu 4.8-STABLE FreeBSD 4.8-STABLE #1: Fri Apr 18 14:38:46 BST 2003 root@users.munk.nu:/usr/obj/usr/src/sys/MUNKBOXEN i386 >Description: The apache13 port control script /usr/local/sbin/apachectl is used to control the apache httpd daemon. However the apachectl script does not start with a clean environment, inheriting the environment of the user that invokes the script. As a consequence the environment variables set by the shell of the user that invokes apachectl (usually a UID 0 user) a...
2017 Mar 15
2
Centos7 and apachectl
I am looking at: https://httpd.apache.org/docs/2.4/vhosts/index.html I tried: |apachectl -S | And no output. Even stopping httpd, no output. How to we see how apache parsed the config files? thank you
2017 Mar 15
0
Centos7 and apachectl
Hi, You can use "httpd -S". Timo 2017-03-15 7:57 GMT+02:00 Robert Moskowitz <rgm at htt-consult.com>: > I am looking at: > > https://httpd.apache.org/docs/2.4/vhosts/index.html > > I tried: > > |apachectl -S > > | > And no output. Even stopping httpd, no output. > > How to we see how apache parsed the config files? > > thank you > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/list...
2008 May 15
2
config checks and service bounces
...gs in the documentation to make me think this is possible but I''m not sure how to implement it. Here''s what I''d like to do: puppetd pulls down a config file, say httpd.conf BEFORE puppetd moves it to $path, I''d like to have it check it''s integrity with apachectl configtest IF configtest passes, then puppetd should move httpd.conf to $path and bounce the server. ELSE puppetd should not move httpd.conf to $path and it should notify me of an error If somebody''s already implemented this procedure, I''d love to see a snippet TIA, Jeff --~-...
2006 May 26
3
mongrel_rails cluster::start problem with multiple runs?
mongrel_rails cluster::start doesn''t seem to pay attention to whether or not the processes exist or not. If you run it twice, the first set of processes are created, then then second run will overwrite the log/{pidfiles} files with the new process numbers. Problem is that the second group of processes are gone, since the first ones had the port open. I''d think that the right
2009 Jun 10
5
Deploying with Passenger question
...followed: I added this to my configuration file underneath the Loadmodule text (the same place Ryan Bates pasted it in the screencast): <VirtualHost *:80> ServerName www.blah.com DocumentRoot /Sites/work/blah/public/ </VirtualHost> Then I restarted apache: sudo apachectl graceful and when I go to my sites url I get a "Index of /" page. Should I change the name of the server from www.blah.com to the name of my Dreamhost private server? I don''t know if this is relevant but I am using Mac OSX 10.5.7 Any help would be greatly appreciated....
2008 Jun 11
2
apachectl gracefult causes Signal 11 crash after 6.3 to 7.0 upgrade [SOLVED]
It seems a php-extensions bug. If you comment the mhash.so in /usr/local/etc/php/extensions.ini as: ;entension=mhash.so all works fine and you don't get anymore httpd crash (signal 11) if you use 'apachectl graceful'. Maybe will be a good idea to open PR for this? I hope it helps someone.... (I'm very surprised that this isn't a documented bug in 7.0 yet) -- Thanks, Jordi Espasa Clofent
2011 Feb 15
3
apache 2 and php 5.2
Hi originally I installed php 4 on centos 5.5 and then a few repos including the remi repo to upgrade to php5, which seems to upgrade/work without any issues. However when I make a change to the /etc/php.ini file it doesn't look like apache is seeing it, for example if I change the post_max_size and upload_max_file to 25M each apache still sees the default 2M. I also removed the /etc/php.ini
2005 May 14
2
different ways to disable https in apache...
Hello, I built apache+openssl+mod_ssl. It is working fine, and I have been starting the server with: apachectl startssl Recently, however, I have decided that I will not be doing anything over https (for a while, at least) with this web server, so for security reasons, I want to only run on port 80. So now I start the server with: apachectl start And it runs without SSL. My question is, is starting the...
2010 Sep 02
2
PHP.ini question 5.5CentOS
I can't seem to figure out why any changes I make to php.ini and restart apache (apachectl stop|start; grep of any httpd processes), the settings do not update. php -r "phpinfo();" | grep Configuration Configuration File (php.ini) Path => /etc/php.ini Configuration I installed extensions via yum and they don't show up. # rpm -qa|grep php php-gd-5.1.6-27.el5 php-mysql-...
2006 Mar 03
1
Problem with oracle&httpd...
...on my PC and I've successfully installed Oracle 10g along with apache web server(httpd) and perl-DBD-Oracle. The problem is trying to connect to oracle to oracle from a CGI script. I defined all of the environment variables(ORACLE_HOME, LD_LIBRARY_PATH, PERL5LIB) in httpd.conf as well as apachectl scripts but I am getting the following error in the logs: ========================================= [Fri Mar 03 00:31:25 2006] [error] [client 192.168.251.6] Can't load '/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: libclntsh.s...
2007 Jan 20
2
startup script at bootup
How I can start mongrel apache in the order it must be started after a re-boot automatically? I am using "mongrel_rails cluster::start" in a script after a login...like this... cd /home/sa/workspace/studio mongrel_rails cluster::start /usr/local/apache2/bin/apachectl start Thanks, Jim _________________________________________________________________ Type your favorite song.? Get a customized station.? Try MSN Radio powered by Pandora. http://radio.msn.com/?icid=T002MSN03A07001
2007 Oct 17
2
Preflight check / lint
Hi, Am writing scripts to manage configuration management and Asterisk. I would like to be able to point the asterisk binary at config directory with an asterisk.conf in it, and for asterisk to run a pre- flight check. A bit like a pint check in php, 'apachectl configtest' and lots of other tools. asterisk will then exit with 0 on a safe config, and 1 on a bad config. I can reject bad config and stop my config management script in the event of an error. Looking at the man page, it looks like this feature is missing. Anyone got another tool w...
2008 Jul 03
6
Apache HOW-TO?
Can anyone please recommend a good tutorial on how to deploy a rails app on apache? My system info is: linux (non-debian) ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-linux] gem -v 1.2.0 rails -v Rails 2.0.2 apachectl -v Server version: Apache/2.0.59 Thank you for any help! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send e...
2000 Dec 18
1
Hanging ssh
OK, with openssh-SNAP-20001218 I still have the problem of a hanging ssh when running (one specific) command on a server. On the server side, there's a small suid C prog (/usr/dh/mgmt/HupServer) that runs system "/usr/local/apache/bin/apachectl stop/start". Incidentally, apachectl is a shell script, hence the need for a suid wrapper for non-root users... On the client side, there's a shell script that removes the machine from load balancing and then stops/starts the webserver by sshing to the server and running the C prog there....
2018 Aug 30
2
TUTORIAL: How to Install Apache Web Server in CentOS 7.5 (1805) Linux in Amazon AWS Cloud with URL/HTTP/HTTPS Redirection
...Open Putty/SSH client and login to CentOS 7.5 (1805). 36. Login as username centos. 37. Sign Out from Amazon AWS Management Console. 38. Install Apache web server with the Secure Sockets Layer (SSL) module: sudo yum install httpd mod_ssl 39. Start the Apache web server process: sudo /usr/sbin/apachectl start 40. Visit and test your web server at 18.223.148.223 Using Google Chrome. 41. You should see an Apache Web Server test page. 42. Install the nano text editor in Linux: sudo yum install nano 43. Go to the main Apache web server configuration directory: cd /etc/httpd/conf 44. Edit the ma...
2011 Aug 11
9
Custom manifest
Hi, Can I execute a command basis on some criteria in puppet. For example, I would want to execute the following command svn up; /usr/local/apache/bin/apachectl restart only if "revision number of file on host = revision number of file on svn" i.e. "/usr/bin/svn info /usr/local/apache/conf/Web_Config/httpd.conf | grep Revision| cut -d: -f2| sed -e''s/ //g''" = "/usr/bin/svn info http://svn.myhost.com/svn/Configur...
2015 Dec 15
2
CentOS 7 (1511) is released
On 12/15/2015 03:51 PM, Leon Fauster wrote: > Am 15.12.2015 um 14:31 schrieb Zdenek Sedlak <dev at apgrco.com>: >> On 12/15/2015 02:23 PM, Dennis Jacobfeuerborn wrote: >>> On 15.12.2015 03:22, John R Pierce wrote: >>>> On 12/14/2015 3:46 PM, Wes James wrote: >>>> >>>> most service updates will restart the service >>> >>>
2006 Jun 28
2
Avoiding killall
When I started Rails Development, I needed to use ''killall -g dispatch.fcgi'' whenever I made a change to a Model to see the change on my website. Now it seems I need to do this to see any change to the Controller as well. Any ideas of what I am doing wrong??? -- Posted via http://www.ruby-forum.com/.
2005 Apr 22
1
Having problems with SSL and Apache on CentOS
...directing to our main webserver and that works. However, if I try to go to secure http, I get an error stating that some data may have been sent but it does not present the certificate to be accepted. Because this is an internet exposed box, I prefer to leave selinux intact. Am I missing something? apachectl configtest, says all is OK. Apache starts. I just can't connect to the server. Any help would be appreciated. Thanks. Ed. -- If the sane say the insane are insane, What if the sane are insane? Would that make the insane sane? Explains a lot in Washington! --E. Croft