Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Changing the Apache Installation directory in Linux Post 302905935 by Palak Sharma on Monday 16th of June 2014 06:57:20 AM
Old 06-16-2014
Question Changing the Apache Installation directory in Linux

Hi All,

I have installed apache using yum on centos. I know that the default installation directory is
Code:
 /var/www/html.


Now I want to change the installation directory to
Code:
 /mnt/ebs.

How can I do this ?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Apache 2.0 installation

Hi all! I've got big problems while installing Apache 2.0 on my HPUX 11 machine. I have configured the installation script with "./configure --prefix=/opt/apache" and run "make". All things looking good. But when i execute "make install" i have two errors, first: and second and the... (1 Reply)
Discussion started by: coredump2003
1 Replies

2. Solaris

apache installation

I have installed sunsolaris 10 in sparc machine.In that how to run apache bydefault apache is installed on /etc file. I have logged in as a root changed the directory to cd /etc/apache2/ from there i have copied httpd.conf-example to httpd.conf #cp httpd.conf-example httpd.conf after... (6 Replies)
Discussion started by: ambavaram
6 Replies

3. Solaris

Apache 2 doesnt create SMF service at installation

Hello everybody, I intended to use Apache 2 first time on my S10 U7 box. But the package (V2) is not ok for the developpers and they need 2.2.12 somehow. I removed Apache 1.3 and installed 2.2.12 with the stream package which I downloaded from Sunfreeware.com It's running perfectly if I start... (2 Replies)
Discussion started by: shadowfaxxxx
2 Replies

4. AIX

Apache Installation issue

HI Guys, I got the below error while trying to install the apache2.2.15. from the error I can interpret that some of the .h files are missing. I guess those are C library header files.. Can you help me with it. bash-3.00# make Making all in srclib Making all in apr /bin/sh... (3 Replies)
Discussion started by: kkeng808
3 Replies

5. Solaris

apache and php installation..

hi i need to install apache and php on my solaris server .. can u tell me the procedure... tell me as soon as possible.. (4 Replies)
Discussion started by: senkerth
4 Replies

6. Ubuntu

Mysql apache installation

on ubuntu lamp server how to install mysql and apache? any instructions? (1 Reply)
Discussion started by: srinathk
1 Replies

7. Solaris

Apache installation error

Hi, I'm getting the below error when trying to run configure from apache 2.0.64. configure: error: C preprocessor "/lib/cpp" fails sanity check I navigated through the forum and found some users experiencing this problem and the solution was to install kernel-headers. But i'm not able to... (1 Reply)
Discussion started by: prithvirao17
1 Replies

8. Solaris

Apache 2.2.21 installation on solaris 10

Hi , I am new to the unix environment. I need to install apache 2.2.21 on my machine. I have tried configuring apache from /etc/apache2 directory. But now I want to install it under a separate user. Can anybody tell me the step by step procedure to install it under separate user,please ?... (1 Reply)
Discussion started by: bikas89
1 Replies

9. Solaris

Apache Server installation

Hi, can we install two diferent versions of apache on same server for different applications? (1 Reply)
Discussion started by: madhudeva
1 Replies

10. HP-UX

Help troubleshooting new Apache installation on HPUX 11.31

Hi Guys! I have a very odd problem while installing Apache in an HPUX 11.31, What I did was downloaded the latest webserver suite from hp software, installed using swinstall, everything was extracted properly. The apache version was 2.2.15 Now the issue comes when I run it, it starts... (3 Replies)
Discussion started by: feliper
3 Replies
apache(1M)                                                System Administration Commands                                                apache(1M)

NAME
apache - Apache hypertext transfer protocol server overview DESCRIPTION
apache consists of a main server daemon, loadable server modules, some additional support utilities, configuration files, and documenta- tion. FILES
The apache HTTPD server is integrated with Solaris. The following files specify the installation locations for apache: /etc/apache Contains server configuration files. A newly-installed server must be manually configured before use. Typically this involves copying httpd.conf-example to the httpd.conf file and making local configuration adjustments. /usr/apache/bin Contains the httpd executable as well as other utility programs. /usr/apache/htdocs Contains the Apache manual in HTML format. This documentation is accessible by way of a link on the server test page that gets installed upon fresh installation. /usr/apache/include Contains the Apache header files, which are needed for building various optional server extensions with apxs(8) /usr/apache/jserv Contains documention for the mod_jserv java servlet module. Documention can be read with a web browser using the url: file:/usr/apache/jserv/docs/index.html /usr/apache/libexec Contains loadable modules (DSOs) supplied with the server. Any modules which are added using apxs(8)are also copied into this directory. /usr/apache/man Contains man pages for the server, utility programs, and mod_perl. Add this directory to your MANPATH to read the Apache man pages. See NOTES. /usr/apache/perl5 Contains the modules and library files used by the mod_perl extension to Apache. /var/apache/cgi-bin Default location for the CGI scripts. This can be changed by altering the httpd.conf file and restarting the server. /var/apache/htdocs Default document root. This can be changed by altering the httpd.conf file and restarting the server. /var/apache/icons Icons used by the server. This normally shouldn't need to be changed. /var/apache/logs Contains server log files. The formats, names, and locations of the files in this directory can be altered by various configuration directives in the httpd.conf file. /var/apache/proxy Directory used to cache pages if the caching feature of mod_proxy is enabled in the httpd.conf file. The location of the cache can also be changed by changing the proxy configuration in the httpd.conf file. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWapchr | +-----------------------------+-----------------------------+ | |SUNWapchu | +-----------------------------+-----------------------------+ | |SUNWapchd | +-----------------------------+-----------------------------+ SEE ALSO
attributes(5) http://www.apache.org NOTES
In addition to the documentation and man pages included with Solaris, more information is available at http://www.apache.org The Apache man pages are provided with the programming modules. To view the manual pages for the Apache modules with the man command, add /usr/apache/man to the MANPATH environment variable. See man(1) for more information. Running catman(1M) on the Apache manual pages is not supported. SunOS 5.10 8 Aug 2000 apache(1M)
All times are GMT -4. The time now is 07:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy