apache configuration
I configured apache via ./configure in /home/export/apache path.
To uninstall it i delete the export dir from home. I created a another location web/apache in /home. And i configured apache in this location. When i start the apache it shows httpd: Could not open configuration file /home/export/apache/conf/httpd.conf: No such file or directory give me the proper steps to start the apache. It's really very very urgent. Help me. |
The configuration files are not in the same location on all Linux distributions. You forgot to mention which Linux distribution you are using?
A /home/export directory is an unusual location for Apache. Most major Linux distributions will install and configure Apache for you if you download from their respositories. If you want directories/files in your /home/user directory, the standard is a public_html directory which is available on install on many Linux distributions. Did you modify the httpd.conf file to show these locations? |
yancek reply
I am using fedora.
Now My apache configuration location is /home/web/apache Previously i build the apache in /home/export/apache I deleted this export location and again build in web location using #./configure --prefix=/home/web/apache --enable-modules=all --enable-proxy --enable-mods-shared=all --enable-ssl --enable-so --with-mpm=worker --enable-lib64 --libdir=/usr/lib64 #make #make install And goto the /home/web/apache/bin and run #./apachectl -k start It shows httpd: Could not open configuration file /home/export/apache/conf/httpd.conf: No such file or directory I verified the ServerRoot and DocumentRoot.it is also in /home/web/apache and htdocs. Now i want to start the apache. Give me the guide. |
Why do you want to install apache using source code.
Are you not able to install using command line. What is the version of fedora? Is it not working for you http://www.if-not-true-then-false.co...-red-hat-rhel/ If you are not expert. I will suggest you to install apache through command line. but if you insist using source code, have you read this before doing it. http://httpd.apache.org/docs/2.2/install.html |
Code:
yum install httpd |
apache installation error
I know how to install httpd using yum.
But in ./configure method we can specify the location wer i want to install the package. Thats the only reason i choose this one. Now i'm in problem. I want to fix it before tonight. Give me the proper guide to start the apache. If anyone is willing means i ll provide teamviewer access and we can interact via skype. |
Ok. how about posting your command line history so we can see what you have done with your apache and directories. should be easy to fix.
|
apache installation error
Ok szboardstretcher.
R u willing to fix it. |
Sure. how about posting your command line history so we can see what you have done with your apache and directories. should be easy to fix.
|
Thank you for all who were repiled for my post.
With my own involvement i successfully start the apache. Especially i proud szboardstretcher who is willing to solve my problem. Thanks and regards Viknesh.K.M meetkmv@gmail.com |
No problem. But, it's considered proper etiquette to post the fix to your original question, so if others have similar issues they are able to fix their problem. Please consider doing so.
|
All times are GMT -5. The time now is 04:59 AM. |