Debian :: Cant Find Anything In Apache2.conf Or Httpd.conf Files?

Jul 25, 2010

phpmyadmin files are in usr/share/phpmyadmin but i cant find anything in my apache2.conf or httpd.conf files that point to that directory.How do I find the route taken from the Server root "ServerRoot "/etc/apache2"" to the phpmy admin files.

View 5 Replies


ADVERTISEMENT

Server :: Debian - Apache2 - Httpd.conf ServerRoot ?

Feb 19, 2010

Installed Apache2 on a Debian Lenny system. copied my old /var/www/htnl over to the new system.

Now when I open my browser to my PC I get the index.html under /var/www not /var/www/html.

I have this in my httpd.conf:

Code:

From what I have read, the DocumentRoot should have pointed to /var/www/html overriding /var/www?

If I use "10.1.1.13/html" it works the way it should.

View 3 Replies View Related

CentOS 5 Server :: Loading Multiple Virtual Host Conf Files From Httpd.conf?

Jun 1, 2009

I've been scanning the apache2 docs for the past few days and have not come up with an answer my following issue:

In my httpd.conf file, at the very end, I have the line

Include conf/vhosts/vhost_*.conf

However, when I run apache checkconfig or try to start apache, it gives me the error:

httpd: Syntax error on line 993 of /etc/httpd/conf/httpd.conf: Could not open configuration file /etc/httpd/conf/vhosts/vhost_1.conf: Permission denied

It appears as if the Include line is correct - in terms of it grabbing the first virtual host conf file. However, I'm confused on the permissions. the /etc/httpd folder is owned by root:root, as are the subfolders. As a test, I chown'd the conf/vhost folder combination and all the vhost files to apache:apache to see if that made a difference, and it appeared to make no difference at all. The log files don't contain anything (assumed because apache isn't starting). If I place the contents of the vhosts in a singular vhosts.conf it works - with the permissions set to root:root. I'd like to avoid having to use one vhosts conf for the configuration I'm trying to achieve - as it would make my life a lot easier.

View 3 Replies View Related

Fedora Servers :: Find The Httpd.conf Files In FC11?

Aug 6, 2009

Where can I find the httpd.conf files in FC11 ??

View 1 Replies View Related

General :: Error While Starting Apache2 / Syntax Error On Line 113 Of /etc/apache2/httpd.conf?

Nov 19, 2010

I have suse10 64bit and I was setting up SVN server on it. After all required setup while reloading apache2,its giving the error:

Code:

httpd2-prefork: Syntax error on line 113 of /etc/apache2/httpd.conf: Syntax error on line 31 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2/mod_dav_svn.so into server: /usr/lib64/libsvn_subr-1.so.0: undefined symbol: apr_memcache_add_server

View 6 Replies View Related

CentOS 5 :: Httpd: Could Not Open Configuration File /etc/httpd/conf/httpd.conf: No Such File

Nov 9, 2009

accidentally I do something wrong with my server and the httpd folder missing and I need it to setup my mail server and anyone can help me what can I do without reinstalling my Cent OS? Here is the error msg :

[root@mydomain etc]# service httpd stop
Stopping httpd: [FAILED]
[root@mydomain etc]# service httpd restart

[code]....

View 3 Replies View Related

Programming :: Configure Httpd.conf To Parse .php Files?

Jul 5, 2010

what's the difference between the following 2 methods for specifying in httpd.conf to use PHP to parse files with extension .php?

Method 1
AddType application/x-httpd-php .php
Method 2
LoadModule php5_module modules/libphp5.so
<FilesMatch .php$>
SetHandler application/x-httpd-php
</FilesMatch>

View 2 Replies View Related

Slackware :: Typo In As-installed /etc/httpd/httpd.conf?

Dec 24, 2010

I'm new to Apache configuration so could be misunderstanding but shouldn't the characters highlighted in red below be removed?

Code:

View 9 Replies View Related

Red Hat / Fedora :: How To Let Apache Know Which Httpd.conf To Be Used

Jan 19, 2009

We have apache installed at a directory other than the default location. There are two httpd.conf files on the server, one at the apache installation directory, and the other one is the default one at /etc/httpd/conf. The apache ran very well with the customized httpd.conf before, but after I installed php 5, the server seems taking the default httpd.conf and doesn't display the html pages which are installed at our apache directory. How to let the server know not to use the default httpd.conf and use the customized one instead?

View 3 Replies View Related

Slackware :: Difference Between Files (xorg.conf And Xorg.conf-vesa)?

Feb 16, 2011

1. What is the difference between files (xorg.conf and xorg.conf-vesa)

2. No matter how hard I try I can't change keyboard layout in xorg.conf-vesa (I change it in file ) but there is no actually anything changing, it starts to get annoying - for example - below goes my xorg.conf-vesa, if I uncomment and set line from

[Code]...

View 3 Replies View Related

Fedora :: New/backup Copy Of Httpd.conf ?

Oct 20, 2009

I modified my httpd.conf file without making a backup. Apache runs fine but I am having a perplexing problem with drupal and want to try a vanilla httpd.conf file. Where can I get a 'virgin' configuration file for fedora 10?

View 1 Replies View Related

Ubuntu :: Unable To Make Changes In Httpd.conf

Apr 24, 2010

I have installed XAMPP on my ubuntu machine, I typed nautilus in the command line and from there I tried to change the httpd.conf file from "/opt/lampp/etc" but it does not allow me to change the contents of the file. Error attached with this post.

View 5 Replies View Related

General :: Backing Up Httpd.conf On CentOS 5

Jan 13, 2011

How to back up my httpd.conf from my server to my computer and only found one solution via a google search

[url]

I typed in locate httpd.conf and see that it resides in /usr/local/apache/conf/httpd.conf so I assume I would type $ cd /usr/local/apache/conf $ sudo cp -p httpd.conf httpd.conf.bak

I wanted to confirm this with an expert before I do damage that I cannot reverse.

View 3 Replies View Related

General :: Error While Running Httpd.conf ?

Aug 19, 2010

I installed Red Hat AS 5.2, ran iptables.sh to put firewall on.

When i try to run httpd.conf i am getting below errors:

I do not understand why i am getting these error, i have conf.d file in place.

View 6 Replies View Related

Fedora :: Httpd.conf - Speed Up - And Lock Down Your Server ?

Feb 19, 2010

This is not intended to teach you about http.conf and its various options. This guide is intended to help with speeding up your web servers by assisting in protecting them from petty abuse, such as hotlinking and scraping, and by using options that yield better performance in general. The methods used in this guide address general concepts, but the implementations of the methods are completely arbitrary, and are tailored to my needs. Each user may want to make their own modifications to suit their own setup. Again, this is a general guide, meant for instruction purposes only. I will go over each significant section in the file, and explain what it does, and the reasoning for it.

This assumes that you WISH to disable the ability to use .htaccess, and to administrate your websites on the server level. If you have a shared hosting plan then you cannot administrate your server at all, and so some of these sections will not apply to you, but some of them will; the ones that still do, you will place in your .htaccess file, in place of your httpd.conf.

Some of the options in these files are default, and so they may not be explained at all. This thread is more about the non-standard configurations.

Most of these options are standard. Notice that there are extra AddTypes, for things such as .xpi files (firefox plugins, etc), and .ogg video files.

Also take note that we disable the option for .htaccess. This makes a dramatic speed increase. This is because if .htaccess is enabled, then for each request made to your server, apache must look in the directory where the requested file resides for an .htaccess file (it does not matter whether one is there or not, and the lookup is NOT cached, so it much be performed EACH request). If apache finds a file, it must parse it. Then it must look in the parent directory, and in the parent's parent, and so on, until it reaches root (/). This is done for EACH and EVERY request. Disabling .htaccess and administrating your server at the global level will make a dramatic difference on busy servers. On not so busy servers, you may not notice the difference.

Note that we disabled cgi-bin completely. This is because we're running mod_php, so we don't need cgi-bin. If you're not using it, lock it down so that no one else can .

Also note that we used AddOutputFilterByType to make sure that all text files were compressed before being sent across the wire. This saves bandwidth.

Of this section, most of these options cannot be set in .htaccess. Options such as the addtype and addhandler and addencoding CAN be set in .htaccess; the rest are global/sever level only.


Code:

View 4 Replies View Related

Ubuntu Servers :: Httpd.conf Not Working After Upgrade To 9.04?

May 7, 2010

Any changes in the way httpd.conf works in 9.04Yesterday I updated from 8.04 to 8.10 and then to 9.04. All works fine, except for Apache Virtual sites.I had several defined in my httpd.conf file, which I used for testing clients' websites.ince the upgrade the virtual sites are not recognised, and all access is done at the original level /var/wwwAny changes in the way httpd.conf works? checked the Apache docs, but found nothing.Here's the httpd.conf I've been using:

<Directory /var/www/clientname/htdocs/products>
AllowOverride All
</Directory>

[code]....

View 4 Replies View Related

Software :: Httpd.conf. Custom Error Documents

Feb 22, 2010

I want to create custom errordocument file, and in php when every type of error occurs i want to redirect to my custom document instead of system error files.

I am using fedora 6.

I am unable to find httpd.conf file, where it is located.

View 3 Replies View Related

Fedora Servers :: Suexec Set Up In Apache, Snippits From Httpd.conf?

Jun 25, 2011

I'm having a problem with mod_suexec in Fedora 15.I have suexec set up in Apache, snippits from httpd.conf:

Code:
LoadModule suexec_module modules/mod_suexec.so
...

[code]....

View 3 Replies View Related

General :: What Is The Use Of /etc/sysconfig/httpd Conf File In Apache Server

Aug 4, 2010

what is the role of /etc/sysconfig/httpd configuration file in apache server .

View 2 Replies View Related

Ubuntu Servers :: Httpd.conf Not Found While Running .PHP File?

Jul 28, 2010

While trying to run the file in PHP I am getting below error. httpd.conf not found Following directories (and its subdirectories) are accesible via Apache:

View 3 Replies View Related

Ubuntu Servers :: RewriteRule Works On .htaccess - But Not On Httpd.conf

Sep 29, 2010

We are trying to migrate from a centos server to ubuntu server, but we have some problems with an application called Topincs [url].

The installation is quite simple and I did it several time (but with ubuntu it's the first time).

Probably there are some parameters to set that I don't know, but even if the installation works fine and I can see the home page, the application doesn't work because RewriteRules aren't applied.

First I tried to ensure that mod_rewrite works fine and I found a weird situation: rewriterules work if they are in .htaccess but don't work if they are directly in http.conf.

View 4 Replies View Related

Server :: Forwarding An Application Having Port Id 8080 To 80 Using Httpd.conf?

Nov 26, 2010

I am a network/system Administrator in an avg. based company, we are using Cent Os as servers. We are developing applications in both php & java, for java we are using apache tomcat as server (port number 8080) & for php we are using apache as server (port 80). Php applications are uploaded in the server and giving the link to our clients like localhost.com/chrome. Now we are planning to give the java based application for testing purpose to clients & can give the application link to client as localhost.com:8080/mozilla. Is it is possible to change the link localhost.com:8080/mozilla to localhost.com/mozilla with out changing the portnumber of apache tomcat server & without interrupting the php applications, that means our clients can access php application as localhost.com/chrome & java application as localhost.com/mozilla in the same server at the same time.

View 9 Replies View Related

OpenSUSE Network :: 11.4 Apache2 Ignoring Uid.conf Options?

Mar 20, 2011

I am trying to install BackupPC on openSUSE 11.4 64 bit.BackupPC is complaining that I am not running the Apache server as user backuppc but as user with id 0 (root)I have the following in the /etc/apache2/uid.conf (which is getting read as I can put a syntax error in the file and it complains):

User backuppc
Group www

When I run either the httpd2-itk (default in rcapache2) or the plain httpd2 processes and then do a:

ps aux

The user reported as running the http processes is root NOT backuppc.On a openSUSE 11.3 machine where I have BackupPC running successfully the ps command returns backuppc as the user running the processes.Is this something others are seeing or do I have some configuration incorrect?

View 8 Replies View Related

Ubuntu :: ServerTokens Option Not Found In Apache2.conf

Apr 14, 2011

I am trying to set up a lamp server and I would like to change the ServerTokens option from full to prod but when I open /etc/apache2/apache2.conf it's no where to be found. Has the option been moved somewhere else? Same with setting ServerSignature from on to off. I'm starting to wonder if I even have the right conf file.

View 1 Replies View Related

Server :: Apache .htaccess - Permission Denied. Exclude From Httpd.conf

Jan 13, 2011

I am administoring a few websites and the latest website to be deployed has a few "unable to check htaccess file, ensure it is readable, referer: " errors in the apache-error log.

That is fine, becuase the directory doesnt contain a .htaccess file.

Is there a setting whereby I can turn off this error ?

I dont want to turn off checking for .htaccess files because some directorys have this file and use it.

View 2 Replies View Related

Ubuntu :: Apache Blank HTTPD Conf And Reverse Proxy For Webcam

Jul 23, 2010

I've been trying to figure out how to set up my Apache 2 running on Ubuntu 9.10 to provide a reverse proxy so I can see my wifi network camera monitoring my dogs and still have access to my family website. First, I followed the suggestions from this thread on Ubuntu forums: [URL]. I set up a similar rule set at the end of my /etc/apache2/sites-available/default, restarted apache -- from which I got a response saying that Apache2 could not determine the server name -- and then tried logging into my server through its ip address. When I tried http://192.168.2.80/dogCam, I just got a 404 error. Here's what I added: (I also tried my domain name, but it also didn't work.)

Code:
<VirtualHost 192.168.2.80:80>
ProxyPass /dogCam/ http://192.168.2.160/
ProxyPassReverse /dogCam/ http://192.168.2.160/
</VirtualHost>

When I looked at many other threads, I get recommendations to have my setup in httpd.conf. But, in both this server and a freshly installed Ubuntu laptop, my httpd.conf file is empty! I tried copying and pasting the recommended contents of the following thread, with the example proxy paths replaced with the ones I needed: [URL]. Straight-forward tutorials don't seem to apply, as Ubuntu has a blank httpd.conf file. I figured out that Ubuntu seems to load its modules by simply adding soft-links to the modules of interest from modules-enabled to modules-available. But, after a full day of trying to figure out what looks to be fairly simple and well-documented, I am at a loss for setting up this reverse proxy or even figuring out where to set ServerName to define my domain name to Apache2 in Ubuntu.

View 2 Replies View Related

General :: Installating SSL Certificates / Add Directives To Apache2.conf File?

Feb 15, 2011

I am installing some SSL certificates on my web server, however I have a couple questions, as I'm not familiar with this process

1) I'm not sure which directory to put them in? What is good practice? Is /var/www/secure a good location so long as I restrict access to the secure directory?

2) I am told to edit the following in my ssl.conf file of apache2

SSLCertificateFile
SSLCertificateKeyFile
SSLCertificateChainFile

However, I cannot find this file, ssl.conf. Nor can I find the above directives in my main apache2.conf file. Where is the ssl.conf file? Or alternatively, could I just add the above directives to my apache2.conf file?

View 2 Replies View Related

Ubuntu Servers :: Modify The Httpd.conf File But It's Empty And Wordpress Installation

Jun 17, 2011

I'm installing Wordpress and I want Hosting Multiple Sites with them. For that I need modify the httpd.conf file but it's empty. Where I can make that changes? These are the changes:

1. Type: LoadModule rewrite_module /libexec/mod_rewrite.so
2. Find the <VirtualHost> section in the httpd.conf file.
3. Find a line in the <VirtualHost> section of the httpd.conf that looks like this: AllowOverride None
3. Replace that line with this line: AllowOverride FileInfo Options
4. On a new line, type ServerAlias *.[URL].
5. Save the httpd.conf file and close it.

View 1 Replies View Related

Server :: Change Of Apache Httpd.conf Doesn't Work On CentOS/RedHat?

Jun 30, 2010

I've been trying to make install apache 2.1.8 and php 5.2.3 and work on them. After updating and installing some dependence files, apache and php could both be installed.

Then I tried to configure them. I added the following content to the end of Apache httpd.conf:

Code:

Then I run /path/to/apachectl start, and saw the message:

Quote:

Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration

Then I remembered that I didn't include the rewrite module while making install apache. So I removed the 2 lines I just added to httpd.conf.

But, after running /path/to/apachectl stop and start again, I could still see:

Code:

When I use firefox to open http://host_ip:8080/, I could see "It works!". But when I open http://host_ip:8080/hello.php (the file is already under htdocs), firefox said
Quote:

Failed to Connect

Why and how to solve it?

I noticed that for some stupid reason, the conf file wasn't updated at all and the 2 erroneous lines were still there.

View 91 Replies View Related

Server :: Moving Apache Directives From .htaccess To Httpd.conf In CPanel/WHM Environment

Mar 3, 2010

I've got a dedicated server using whm/cpanel and there is a particular domain being hosted which contains a very elaborate .htaccess file which is full of mod_rewrite rules, among other things. I've been asked to try and get the contents of this .htaccess file into the httpd.conf (or some appropriate include file) to improve performance.

I've been reading this page and it's really confusing me: [url]

In the file usr/local/apache/conf/httpd.conf I see that there are two VirtualHost sections that appear to be relevant for my domain (which I'll call mydomain.com). The first listens on port 80 and the second is on 443. Seems to me that my apache directives in .htaccess would belong in this section. In the first section I see this:

Code:

In the second section I see this:

Code:

The problem with both of these is that the directory /usr/local/apache/conf/userdata does not exist, much less the full path to either of those files.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved