10-07-2015
Did you restart apache after changing the config file?
/etc/init.d/apache2 restart
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want to find out subdomains in the url using shell script.
e.g
narendra.eukhost.com
abc.domainname.co.uk
I want to extract narendra & abc from the above urls.
Please any one can suggest idea or script ? (2 Replies)
Discussion started by: nrbhole
2 Replies
2. IP Networking
Hi all,
I have problem regarding public subdomain delegation
i have created an A record for subzone in BIND on a machine running Solaris10 Sparc to point to another machine running win2k3 as follows
sub.domain.tld and www.sub.domain.tld now i want to add an MX record for mail routing for the... (1 Reply)
Discussion started by: h@foorsa.biz
1 Replies
3. Shell Programming and Scripting
When I try to grep a subdomain having three dots("."), I am getting another fully qualified domain also that looks same as the sub domain but with hyphen("-") in the place of dot(".")
I just need the first result. Please help me...
grep abcd.efg.xyz.info /etc/named.conf
zone... (15 Replies)
Discussion started by: an00p
15 Replies
4. Debian
!!Hello Everyone!!
I Recently purchased a Iomega iX2-200 NAS that runs a custom debian installed by Iomega (Linux Debian 5.0.2 ( 2.6.22.18 armv5tejl)) . I have SSH access. I installed Transmission since the factory installed torrents manager that Iomega uses is terrible. Transmission-daemon... (1 Reply)
Discussion started by: stejimenez
1 Replies
5. Web Development
Hi,
I am facing some problem with Apache to Tomcat forwarding. I have Tomcat (6.0.18) behind Apache (2.2). I want to use ‘https' for receiving request from the client. This request, when forwarded by Apache to Tomcat, will use ‘http'. My application's name is ‘abc', which is deployed in... (1 Reply)
Discussion started by: Technext
1 Replies
6. Linux
I am having problems in implementing the virtual hosts here in my server. I have this one cloud dev server: Amazon Linux AMI release 2013.03 (based on RHEL like CentOS) with Apache 2.2.25 installed and I'm trying to create 2 virtual hosts: test-kalc.tk and test2-kalc.tk.
If I go to... (2 Replies)
Discussion started by: jpdoria
2 Replies
7. Linux
Hi All,
My chrome browser was working correctly on my Debian Lenny 5 PC..Today i downloaded the version from google and tried to install the deb from command line as follows:
dpkg -i <latest-chrome-package>
The installation failed but now my existing old chrome browser is not starting.
... (2 Replies)
Discussion started by: coolatt
2 Replies
8. Red Hat
Hello,
My apache user generate one file :
# ls -lsa /tmp/reference_file.csv
76 -rwxrwxrwx 1 apache apache 69921 Aug 16 14:14 tmp/reference_file.csv
the user and the group belong to apache, but when i am trying to change it :
su -l apache -s /bin/bash
-bash-3.00$ whoami
apache... (7 Replies)
Discussion started by: cterra
7 Replies
9. Linux
Issue observed: I have configured ng.my-site.com using widlcard ssl cert. When I hit https://www.my-site.com it loads ng.my-site.com website!
please advise if I missed any concept / configs... Thank you!
httpd.conf
<VirtualHost *:80>
ServerName www.my-site.com
ServerAdmin... (0 Replies)
Discussion started by: ashokvpp
0 Replies
10. Ubuntu
I have installed apache2 on ubuntu 16.00 and checked the logs and no errors
apt list --installed | grep apache2
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
apache2/xenial-updates,xenial-security,now 2.4.18-2ubuntu3.5 amd64 ... (0 Replies)
Discussion started by: DOkuwa
0 Replies
LEARN ABOUT FREEBSD
apache2
APACHE2(8) apache2 APACHE2(8)
NAME
apache2 - Apache Hypertext Transfer Protocol Server
SYNOPSIS
apache2 [ -d serverroot ] [ -f config ] [ -C directive ] [ -c directive ] [ -D parameter ] [ -e level ] [ -E file ] [ -k
start|restart|graceful|stop|graceful-stop ] [ -R directory ] [ -h ] [ -l ] [ -L ] [ -S ] [ -t ] [ -v ] [ -V ] [ -X ] [ -M ]
SUMMARY
apache2 is the Apache HyperText Transfer Protocol (HTTP) server program. It is designed to be run as a standalone daemon process. When used
like this it will create a pool of child processes or threads to handle requests.
In general, apache2 should not be invoked directly, but rather should be invoked via /etc/init.d/apache2 or apache2ctl. The default Debian
configuration requires environment variables that are defined in /etc/apache2/envvars and are not available if apache2 is started directly.
However, apache2ctl can be used to pass arbitrary arguments to apache2.
DOCUMENTATION
The full documentation is available in the apache2-doc package or at http://httpd.apache.org/docs/2.2/ . Information about Debian specific
changes and configuration can be found in /usr/share/doc/apache2/README.Debian.gz .
OPTIONS
-d serverroot
Set the initial value for the ServerRoot directive to serverroot. This can be overridden by the ServerRoot directive in the configu-
ration file.
-f config
Uses the directives in the file config on startup. If config does not begin with a /, then it is taken to be a path relative to the
ServerRoot. The default is /etc/apache2/apache2.conf.
-k start|restart|graceful|stop|graceful-stop
Signals apache2 to start, restart, or stop. See Stopping Apache for more information.
-C directive
Process the configuration directive before reading config files.
-c directive
Process the configuration directive after reading config files.
-D parameter
Sets a configuration parameter which can be used with <IfDefine> sections in the configuration files to conditionally skip or
process commands at server startup and restart.
-e level
Sets the LogLevel to level during server startup. This is useful for temporarily increasing the verbosity of the error messages to
find problems during startup.
-E file
Send error messages during server startup to file.
-R directory
When the server is compiled using the SHARED_CORE rule, this specifies the directory for the shared object files.
-h Output a short summary of available command line options.
-l Output a list of modules compiled into the server. This will not list dynamically loaded modules included using the LoadModule
directive.
-L Output a list of directives together with expected arguments and places where the directive is valid.
-M Dump a list of loaded Static and Shared Modules.
-S Show the settings as parsed from the config file (currently only shows the virtualhost settings).
-t Run syntax tests for configuration files only. The program immediately exits after these syntax parsing tests with either a return
code of 0 (Syntax OK) or return code not equal to 0 (Syntax Error). If -D DUMP_VHOSTS is also set, details of the virtual host con-
figuration will be printed. If -D DUMP_MODULES is set, all loaded modules will be printed.
-v Print the version of apache2, and then exit.
-V Print the version and build parameters of apache2, and then exit.
-X Run apache2 in debug mode. Only one worker will be started and the server will not detach from the console.
SEE ALSO
apache2ctl(8), /usr/share/doc/apache2/README.Debian.gz
Apache HTTP Server 2008-04-05 APACHE2(8)