Use this tag for questions related to the Apache http server (any version, but make sure to provide Apache version numbers in the question unless not relevant). Generic webserver related questions should use the tag: webserver. Few of the other Apache related projects have their own tag, don't use ...

learn more… | top users | synonyms

0
votes
2answers
724 views

Redhat “httpd” start failed showing “ELinks: Connection refused”

I'm on RHEL 6.5 and Apache 2.2.15. And now applying a trusted SSL on the Server. After adding the respective SSL related Certs and files, my Apache is NOT starting up anymore. Here are some outputs: ...
0
votes
1answer
66 views

is “ServerAdmin email@domain.tld” required in the VirtualHost in Apache?

I rather not have ServerAdmin in my VirtualHost because all it does is attract spam. has no use what so ever. can it be ignored ?
0
votes
1answer
2k views

Redhat “httpd” can not start anymore. Showing “suEXEC” and “SELinux” notices

I'm on RHEL 6.5 and Apache 2.2.15. When I restart the httpd, I can not start that httpd anymore. Showing following things in the /var/log/httpd/error_log: [Fri Aug 01 18:31:48 2014] [notice] suEXEC ...
1
vote
2answers
23 views

How to find site on shared server that is generating httpd requests

I have a shared server that had a Wordpress site that was compromised. I cleaned out all the wordpress sites on the server and everything seemed to be fine. When I checked today I noticed a large ...
0
votes
1answer
40 views

For a given directory, how do I concatenate the tail end of recently modified files to a new file?

In case there's a better solution to the problem, my goal is to be able to quickly analyze ALL recent apache activity in /usr/local/apache/domlogs. The usefulness of this is when the server load is ...
0
votes
0answers
76 views

Why does “Connection Failed: 2002” display randomly on my PHP/MySQL website?

I'm running CentOS 6 with Apache/PHP/MySQL. PS. I'm sort of a novice at Linux, but I did my best to gather info before coming here. I'm now a bit stuck. I recently upgraded PHP to version 5.5.12. I ...
3
votes
2answers
173 views

How to allow access to a directory and don't allow access to a sub-directory in Apache?‏

I have asked this question on apache mailing-list but I didn't get the answer I want. I want to allow a directory " /var/www/html/ldap" to two users according to IPs (192.168.1.2 192.168.1.7): ...
1
vote
0answers
45 views

xinetd apache2-proxy service unavailable

I'm using the filesharing service F*EX F*EX . If I run the service without a proxy I can reach it and it works. The service is controlled by xinetd. Now a apache2 is configured to run as proxy and a ...
2
votes
1answer
209 views

Virtual Host only works when SELinux is set to permissive - why?

Wondering why my virtual hosts will only work when SELinux is set to "permissive". When SELinux is set to "enforce" my virtual hosts are ignored and default host is shown. Apache/2.2.15 (Unix) Here ...
3
votes
1answer
106 views

How to set an expired authentication in Apache?

Using a simple virtual host, I've to set a timeout after X minutes (same of set an expired authentication) to force the user to re-insert its credentials. [...] <Directory /home/user1/> ...
1
vote
0answers
77 views

Virtual Host setup works for one server, not another

Having an issue with my virtual host set up. Used this tutorial as a reference on both: http://youtu.be/wXIJMtwmPCE Apache/2.2.15 (Unix) on both servers. Seemingly Identical httpd.conf file on both ...
1
vote
1answer
466 views

Apache Virtual Host Include Not Working

Attempting to get my domain to redirect to the associated vitual hosts, but the Include is not working as expected and displaying the proper htdocs directory. It is still displaying the default apache ...
1
vote
0answers
55 views

Unable to start apache

I'm running CentOS7 in virtualbox on a mac (osx 10.9.3). Ultimately, I want to acces the website on my Guest VM from my Host. I can Ping and SSH to VM but I can't acces the webpage when entering the ...
6
votes
1answer
276 views

Apache Authorization for the Allowed Users?

I have read the answer to this question: http://stackoverflow.com/questions/4102763/apache-basic-authentication-except-for-those-allowed It helped me understand how to not authenticate some users ...
1
vote
1answer
52 views

Apache suexec won't work with strace

I have an Apache instance with mod_suexec enabled. I'm trying to debug a problem and am starting Apache with strace to try and see what's happening. However, when I start Apache like this: # strace ...
2
votes
1answer
868 views

I cant save files in /var/www/html

I'm running Centos 6.5 and I'm having problems saving my files to /var/www/html. The folder currently belongs to root and I have gone through everything from SELinux to configuration procedures, but ...
2
votes
1answer
95 views

Generate a certificate signing request for an SSL server

I'm running CentOS 6.2 LAMP and I've just purchased an SSL certificate via Namecheap that I'm trying to install on my server. This is the certificate I purchased. How do I complete this process ...
0
votes
0answers
31 views

when “DirectoryIndex 1” in “httpd.conf” SOMETIMES & at random i see “/1 not found” error on the web

In my httpd.conf, I have written DirectoryIndex 1 above the virtual hosts section. Randomly (1 incident of 100-200 browser refreshes) I see a message on the web browser: /1 is not found on this ...
3
votes
2answers
61 views

Apache : Close entire site to public but display a custom page

Suppose I do not want to delete any files or anything from my web site, but I want to close everything to the public. They simply need to see a custom page. How can one go about this via httpd.conf ...
1
vote
1answer
61 views

Why do I get a 403 error when visiting /javascript on my website?

I was just playing around with a small web application I wrote today, wetagg.in. When I visit the site with a path, like http://wetagg.in/unix, it will take unix as input and render content ...
1
vote
1answer
53 views

Apache authentication mutiple domain but same subdirectory

I've got several sites: example.com, example1.com, and example2.com in my wordpress. All of them point to my server's /public_html folder, which is my Apache root folder. What do I need to add to my ...
3
votes
2answers
131 views

How to manage error_log and access_log of apache?

I noticed my error_log file grows larger and larger. I tried changing the LogLevel in httpd.conf from LogLevel debug to LogLevel emerg But I still see errors being posted about favicon.ico not ...
2
votes
2answers
141 views

24gb files removed but no changes to the available space. What could have happened? [duplicate]

We have this virtual machine that has Apache2 installed, we forgot to install a log rotate and we got 24gb of logs from Apache2, We removed those 24gb of log files but no changes occurred to the disk ...
1
vote
1answer
59 views

How to Link File URLs?

I am currently running WordPress/Woocommerce on an Apache server. I have files for sale on the server, located outside of the public path for security. I am attempting to link the downloadable files ...
2
votes
1answer
96 views

Can <Location /> be for multiple virtual hosts in httpd.conf?

I have 5 virtual hosts in httpd.conf. All of them have the configuration below except for one. <Location /> Order Deny,Allow Deny from all Allow from IP.ADDRESS.GOES.HERE ...
1
vote
1answer
33 views

How can I rewrite with apache mode_rewrite an entire directory?

I need this URL/directory make/lores/some/ to point/map to login/ I also need to rewrite .php extensions to .html Example When the client types in example.com/make/lores/some/login.html the server ...
2
votes
1answer
69 views

Can Apache Web server Respond to SMTP/IMAP/POP3 requests?

Bear with me, please. I want to know what functions are provided by the Apache 2.4.9 Web server on Fedora 20. I understand that Apache responds to HTTP request only. I believe that SMTP and POP3 ...
3
votes
2answers
216 views

Subdomain for Nagios

I have a subdomain forwarding at ip xxx.xxx.xxx.xxx (domain.com) Lets call it nagios.domain.com Nagios worked at xxx.xxx.xxx.xxx/nagios but now it's not working due to a fact that app.domain.com took ...
0
votes
1answer
41 views

Apache serve a web page in different languages

I want to serve a web page in different languages depending on where the user comes from. Eg. www.mysite.com/fr if the user is from France and www.mysite/es if the user is from Spain. Also it would be ...
1
vote
1answer
67 views

apache mod_security and performance

I have a list of bots to block, so I was thinking that fail2ban could be a solution until I realized that mod_security would be more efficient in this kind of tasks. The number of bots is huge, so ...
4
votes
3answers
15k views

CentOS - install using yum Apache 2.4

I need Apache 2.4 in CentOS because with Apache 2.2 mod_proxy_wstunnel is not possible. I have tried https://fedorahosted.org/SoftwareCollections/ but unfortunately its for RHEL after installing i ...
0
votes
1answer
26 views

Why does apache not define where to log by default?

When searching the occurrence of the chain /var/log in default configuration files of apache this cannot be found anywhere. But log files are defined as such # part of httpd.conf ErrorLog ...
2
votes
3answers
61 views

Where should I place my websites files with multiple vhosts?

If vhosts are enabled, where should I place my website files? /home/aunser/www /var/www/site1, /var/www/site2 /usr/local/website/site1, /usr/local/website/site2 the systems is CentOS 6.x/RHEL ...
-1
votes
1answer
53 views

CentOS, Apache Vhosts enabled,but DOCUMENT_ROOT cant towards /home/auser/website/www1 [closed]

environment CentOS 6.5 x86_64 Apache2.4.9 (locate=/usr/local/apache2) PHP 5.5.13 (locate=/usr/local/php5) Apache vhosts enabled. site1 domain=localhost ...
1
vote
1answer
2k views

yum - No package httpd available (new VPS)

So I have a new VPS that only has the bare bones. Not what I was expecting at all and I may be well past my depth but I'm trying to get the essentials running. The host is Swedish and aggressively ...
0
votes
0answers
940 views

How to configure Alias in Apache 2.4?

I need to config a Alias in Apache 2.4 and work how phpmyadmin works in my Ubuntu AWS server. I created a site-enable file and add the following lines for it Alias /admin1/ "/var/www/html/admin" ...
1
vote
0answers
721 views

Apache 2.2, PHP 5.3 and MySQLl 5.5 on Linux Mint 17?

Our stack consists of Apache 2.2, PHP 5.3 and MySQL 5.5. I've installed Linux Mint 17 Giana. If I install apache2 via apt, it will install Apache 2.4 which is not required for me. Is there any way ...
3
votes
1answer
124 views

Can ssl folder be removed without causing conflict

In /etc/httpd the ssl folder, if that is removed does that mean any site on the server if directed to https:// will not throw warning? I got a certificate a while back but soon realized if not a paid ...
1
vote
0answers
98 views

Ubuntu 12.04 apache2 site shows index of instead of actual site on redmine

I have an Ubuntu 12.04 server that has a successful redmine install on it. I have been using redmine on it for a while, but when I tried to set up the SSL cert using this method, ...
1
vote
1answer
833 views

index.html is not working in apache document root

I have got Ubuntu 12.04. I have a file index.html in apache'd document root but apache lists all the files when I access the document root from the browser. It works fine if I replace index.html by ...
0
votes
1answer
46 views

Can I install LAMP over existing Apache installation?

I'm setting up my first VPS, and I installed and configured Apache before I realized that there was the LAMP package to do that for me. Can I run sudo apt-get install lamp-server^ or do I have to ...
1
vote
0answers
286 views

Improving TCP performance over a gigabit network

I have two machines both network cards speed is 10Gbps. The inbound bandwidth between the two machines is 10Gbps, the outbound bandwidth internet bandwidth is 500Mpbs. Both machines are using public ...
1
vote
0answers
653 views

Apache server: permission and symbolic link problem

I am using CentOS(Linux 2.6.32-431.11.2.el6.x86_64). I am trying to create an Apache2.2.15 web server. Every thing configured very well. My DocumentRoot is the default location i.e. /var/www/html. I ...
0
votes
1answer
24 views

Should apache still be making error_log files?

I have a VirtualHost set up like this <VirtualHost my.ip.address.here:80> DocumentRoot /home/todieama/public_html/dev/hop/public_html/ ServerName dev.example.com ServerAlias ...
1
vote
1answer
726 views

Two HTTP servers on port 80 and 443

I use on my home server, Apache with one main application that is OwnCloud. So to access it from Internet I use URL -> https://my_host.no-ip.org/owncloud I use another HTTP application on the same ...
0
votes
2answers
1k views

Privileges for jenkins at apache's folder

I'm having issue similar to this: How to copy files as Jenkins "post build" action if i don't have privileges to destination directory I'm willing to move/copy/rsync files from jenkins ...
0
votes
0answers
285 views

Time out logs in apache

Can anyone please help me in debugging the below logs from apache mainly timeout error. I have configured self signed ssl certificate for my abc.com website. But I am getting below logs in my sslerror ...
0
votes
1answer
940 views

PHP on centos 6 not working

I have installed PHP, MySQL, Apache on CentOS 6, now I have restarted the Apache and mysql, to test PHP i have created a index.php on /var/www/html/test/ now once i go to localhost/test/index.php then ...
0
votes
1answer
649 views

multiple ftp user sharing common home directory

I want to setup like mentioned, where I can create multiple ftp users with having same home directory. What I have tried so far, Created new user with pointing to the directory of ftp user as home, ...
1
vote
1answer
113 views

How to extract running Apache configuration from core dump?

Apache is loading the configuration from files into its memory. If the config files are changing the Apache process won't activate it until a reload/restart happens. Now I have to debug the current ...