The apache web server.

learn more… | top users | synonyms

0
votes
0answers
14 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 ...
5
votes
1answer
123 views
+50

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 ...
0
votes
2answers
285 views

Apache Tomcat not working

I am a Linux beginner and have CentOS 6.4 installed on VMware. Recently installed Java SE8 and Apache Tomcat server but I cant't connect to the server by using `localhost:8080' browser says Unable to ...
1
vote
1answer
26 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): ...
2
votes
3answers
501 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 ...
1
vote
0answers
10 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 ...
3
votes
1answer
180 views

mod_authnz_ldap bind as authenticating user instead of anonymously

I'm attempting to move as close to single credential as possible. We have a web application that has a fairly limited set of available authentication mechanisms but will (luckily) allow admins to tell ...
2
votes
1answer
19 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 ...
2
votes
2answers
678 views

Apache config in sites-enabled not being detected?

I'm trying to set up my new redhat server and I have apache config in my /etc/httpd/sites-enabled folder, but when I run /usr/sbin/httpd -S as root to check the syntax, it just returns: ...
3
votes
1answer
18 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
28 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 ...
0
votes
1answer
331 views

Multiple PHP Versions / cPanel with mod_fcgid

I'm trying to get multiple PHP versions working on a cPanel server which was compiled with mod_fcgid and PHP 5.3. Below is the PHP config generated by cPanel. AddHandler fcgid-script .php5 .php4 ...
0
votes
1answer
31 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
36 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 ...
3
votes
1answer
410 views

suexec with chrooted environment

I'm trying to get a chrooted Apache environment working running mod_fcgid with suexec. Looking at suexec log inside jail, the wrapper scripts are being executed with no problems, however, when I look ...
0
votes
1answer
429 views

How do I set up of IBM Cognos Business Intelligence with an Apache web server?

I'm trying to put together an Apache configuration for quickly getting IBM Cognos Business Intelligence Server up and running. But I got no idea of how to do it, could someone help me?
-1
votes
0answers
34 views

Debian doesn't start in graphical mode (kde or gnome) after installed Apacahe

Debian doesn't start in graphic mode (kde or gnome) after installed Apacahe. TTY7 shows nothing. Thus, system starts in text mode (tty1).
5
votes
2answers
5k views

Localhost .htaccess not working on Ubuntu

I have been trying to get my .htaccess file to work on my localhost. I know that the file works because it is on my server and works. However it doesn't seem to be working locally. I have followed ...
1
vote
1answer
598 views

Transferring Files SSH SCP Error Message: 'Stdin: is not a tty'

I am using a Macbook SSH terminal and generated RSA key pairs and uploaded remote id_rsa.pub with approved permissions. I can connect with remote Apache web server. I can create, open, move, modify ...
0
votes
1answer
287 views

Configuring Apache 2.4 for CGI on FreeBSD

I am trying to run CGI on FreeBSD 9.2. I installed Apache 4.2 (pkg install apache42) Configured it to load CGI module. Also, I did chmod a+x on files in cgi-bin directory. And when I connect to ...
1
vote
1answer
1k views

Apache2 does not run on IPv4 tcp port

Can you help me please. I need run Apache2 on my Debian 7 server. But it run only on tcpv6 port, not on tcpv4 port. I installed it with apt-get install. I read some tips for this problem, but it does ...
0
votes
2answers
286 views

yum install mod_auth_token not working on CentOS

On CentOS 6.5 how do I make yum install mod_auth_token work these days? According to my own HOWTO I wrote 12 months back, you used to be able to just type it now you have to DIY it, which is bad ...
2
votes
1answer
54 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
33 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
18 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 ...
2
votes
1answer
6k views

How to upgrade Apache 2.2.15 to 2.4.4 in CentOS

I want to upgrade Apache from 2.2.15 to 2.4.4 in CentOS. Do I need to download update files to a folder and update Apache? Is this even possible?
1
vote
1answer
20 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 ...
3
votes
2answers
56 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 ...
3
votes
1answer
1k views

Apache 70007 and 70014 errors

I have a service where mobile phones send a big hash of data to our server which are sitting on AWS behind the ELB. Once in a while we receive 70007 and 70014 errors in the apache error logs, the ...
1
vote
1answer
32 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 ...
3
votes
2answers
56 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 ...
1
vote
1answer
15 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 ...
1
vote
1answer
36 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
2answers
58 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 ...
0
votes
1answer
5k views

enable apache mod rewrites to load clean-urls

In CentOS, a2enmod rewrite results in “command not found” but httpd -M lists rewrite module as listed and shared. I'm trying to enable it so can then have these rewrite rule apply so I can switch back ...
3
votes
2answers
102 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 ...
2
votes
1answer
30 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 ...
5
votes
4answers
5k views

How do I create web pages in my home directory and have the web server serve them in my web browser?

I have recently installed the Apache web browser in my Debian Squeeze (using command tasksel and selecting [ ] Web server). Now I get it to start via sudo /etc/init.d/apache2 start and then I go to my ...
1
vote
1answer
245 views

Executing commands with PHP: using normal user, but its home directory is /root

I'm using a custom compiled installation of Apache + PHP, listening on port 80. Apache is configured to run as a normal user, with the proper settings User and Group of the httpd.conf file. After ...
3
votes
3answers
8k views

Apache installation configuration can't find PCRE? ( pcre-config for libpcre not found )

These are the requirements and instructions on how to install Apache on Linux. http://httpd.apache.org/docs/current/install.html So I've installed everything (c++ compiler, apr and apr-util) to be ...
1
vote
1answer
14 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 ...
0
votes
1answer
32 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 ...
2
votes
1answer
31 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 ...
1
vote
2answers
1k views

How can I Forward a subDomain to a specific port?

My apologies if this has been asked before. I haven't found an adequate solution so... yeah. When a specific domain, "example.com" is accessed, I want it to act normally. In other words, it should go ...
3
votes
1answer
421 views

Can /mnt/hgfs/'shared folder' be used as apache root?

I have an Ubuntu Server (12.04) running on my development machine. It is in a VM. I have succeeded with the task of setting up Apache2, MySQL, and PHP. I can access the server from my host browser ...
3
votes
3answers
8k views

Does curl have a timeout?

So far I couldn't find anything really, but is it true that curl doesn't really time out at all? user@host:~# curl http://localhost/testdir/image.jpg I'm asking because I'm redirecting any request ...
1
vote
0answers
25 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 ...
2
votes
6answers
622 views

Does LAMP Stack have a GUI?

I just bought a VPS server with LAMP. I have SSH access, however no clue how to use LAMP. I used to work with cPanel in the past. So far, when I type the server address I get the default "Apache 2 ...
1
vote
1answer
1k views

Mod_Auth_MySQL will not compile under Slackware 13

I tried to add the auth_mod_auth (3.0.0) module to my Slackware 13 (apache 2.2 & MySQL 5.0) system. I ran the usual command line for apxs (as mention in the BUILD file) apxs -c -L/usr/lib/mysql ...
1
vote
1answer
451 views

(debian) installing mod_qos on apache results in error on start

I installed the mod_qos module using the steps found here, every step went perfectly fine without any problems, however, when attempting to restart the apache service it returned the following error: ...