-1
votes
1answer
160 views

How to add /home/user/public_html as virtual host in apache - centos [duplicate]

In Directadmin (I used it before) when we create a reseller, a new user with a home directory was created and user could add domains in a home directory like /home/user/domains/example.com/public_html ...
0
votes
0answers
34 views

Where do I put the CacheEnable, CacheRoot directives in httpd.conf? Not working currently

I am not using a VirtualHost and I added the following to httpd.conf right after the DocumentRoot declaration (not the one that's an XML node): CacheEnable disk / CacheRoot /var/www/cache ...
0
votes
1answer
40 views

configuration files and ssh keys are being reset

I own a Centos 6.4 OS. I have standard lamp stack installed. Apache 2.2, PHP54 and mysql 5.5. I have also uploaded a public key into my authorized file in .ssh. I have my document root set in my ...
0
votes
1answer
52 views

Unable to access certain files on web server

Background: I'm running a CentOS VM with Apache installed. The web root is "/var/www/html". There is a subdirectory ("/var/www/html/mp3") which has two mp3's in it. Both mp3's have exactly the same ...
0
votes
2answers
506 views

Apache2 default vhost in alphabetical order or override with _default_ vhost?

I've got multiple named vhosts on an Apache web server (CentOS 5, Apache 2.2.3). Each vhost has their own config file in /etc/httpd/vhosts.d and these vhost config files are included from the main ...
0
votes
1answer
41 views

Apache Detects files as directories

I have a file 'result.txt' in my documentroot, now when I access: http://localhost/result/first It's accessing this instead: http://localhost/result.txt/first What could have I incorrectly ...
0
votes
1answer
1k views

Apache + CentOS 6 + Joomla: You don't have permission to access / on this server

My site was in /usr/local/apache/htdocs. Now i created new account in cpanel and move site to /home/account_name/public_html Group and owner for all files are "account_name" .htaccess and path ...
0
votes
2answers
486 views

Apache httpd.conf Only use SSL for subdomain and give 404 for other https URLs

I have a current configuration for my website mail client: NameVirtualHost *:443 <VirtualHost *:443> SSLEngine on SSLCertificateFile /etc/pki/tls/certs/ca.crt ...
0
votes
1answer
792 views

How to limit bandwidth in CentOS using htaccess and not httpd.conf?

I'm trying to limit bandwidth in centOS. I have tried using bw_module, cband_module and bandwidth_module, but all of those required to use the httpd.conf and must restart httpd! I have to do this ...
1
vote
0answers
139 views

Can't find the correct configuration of apache on Centos 5.6 for Trac 0.12.2

I've been trying to get Apache to serve Trac on CentOS 5.6 for the past few days. The missing link is almost certainly the Apache configuration. I know this because I can get trac to run locally with ...
0
votes
1answer
368 views

Need help with apache2 httpd.conf

Ok, the problem is presented like this: I have a single IP (123.123.123.123) I have multiple domains I work with subdomains for testing So basically I need to host www.example.com, ...
0
votes
3answers
842 views

/var/run/httpd.pid missing

Recently one of our web servers httpd stopped working and I haven't been able to find the problem. Today I sat down and went through every directory in the httpd.conf and have found an issue. the ...
1
vote
1answer
818 views

How to create httpd.conf on CentOS

I am getting this error message. I am running CentOS 5.2 with Apache 2. How would I re-create this file? Is there a command? The server was built from a VM image. Starting httpd: fopen: No such file ...
4
votes
1answer
4k views

Do I need to restart/reload apache when adding a configuration file under /etc/httpd/conf.d

Do you need to restart/reload Apache when adding a configuration file under /etc/httpd/conf.d? I know that editing the httpd.conf need a restart or a reload but unsure if file placed in the conf.d ...