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

1
vote
2answers
1k views

Ubuntu: can't find ndbm.h

I need to compile an old apache version, 1.3 and compilation process fails because: mod_auth_dbm.c:77:18: fatal error: ndbm.h: File or directory not found where is it?
5
votes
3answers
19k 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 ...
0
votes
1answer
268 views

Server returning 'Not Found' for “www.host.com” but not “host.com”

My server is returning the correct paths for all of my domains as long as they are not prefixed with www. The following is one of my domains in it's simplest form: <VirtualHost *:80> ...
2
votes
2answers
453 views

AIX apache rpm dependencies

I am evaluating the Crowd SSO by Atlassian. Now to get apache to use CROWD for authentication, there is a connector available by the vendor. Problem Unfortunately they do not provide anything for ...
1
vote
1answer
763 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: ...
2
votes
0answers
131 views

Problem with encrypting /var/www and ikiwiki

I tried to encrypt /var/www with encfs. To do so I did following: mv /var/www /var/www.bak mkdir /var/www_enc encfs --public /var/www_enc /var/www cp -a /var/www.bak/* /var/www/ /etc/init.d/apache2 ...
0
votes
0answers
350 views

centos 6.3 apache local network not working

I have clean installed centos, apache, mysql, php and have my php pages running fine at 192.168.1.66. I type that ip in on another computer (macbook) on the same network and get nothing. Page time ...
0
votes
1answer
406 views

Problem setting up DVWA in Wheezy 64 bits

I'm trying to get running Damn Vulnerable Web Application in a virtual machine with Wheezy. The easy way if it was 32 bits is install XAMPP and copy the dvwa to htdocs. However I'm using 64 bits and I ...
2
votes
1answer
2k views

Apache boot without asking for passwd

So I'm maintaining a server which has a verified SSL certificate setup, however there is a password on the private key and so whenever apache is reboot, we get a message asking for the password. This ...
1
vote
2answers
2k views

How can I get Apache2 in OpenSUSE to map /srv/www/htdocs/index.php to localhost?

If the document root for Apache in OpenSUSE is /srv/www/htdocs and that folder only contains my website with its own index.php file, entering "localhost" in a browser should take you to the homepage. ...
5
votes
1answer
122 views

Slow ikiwiki after first run

I have local ikiwiki on my notebook (with apache as local webserver). When I save an edit the first time after booting and logging in, saving is very slow (but the second time saving is at normal ...
4
votes
1answer
2k views

MySQL stop/waiting issues; “can't connect … through socket” [duplicate]

So this was my first time putting up a LAMP stack on a Bodhi machine (previously experience with WAMP, and LAMP on 10.04); I got Apache going, and a Drupal install begun, then I go to create a new ...
0
votes
1answer
437 views

Installing Ioncube loaders without issues CentOS 5.9

Seem to be having issues installing Ioncube loaders on CentOS 5.9. I followed this guide to install Ioncube: but it's still not working on the site at all, I keep getting this error on BoxBilling, ...
2
votes
2answers
528 views

Apache server redirects main domain to https

I have this server with multiple domains running CentOS 6.2 and Apache. This server has a SSL certificate installed and working well. Every time I browse to the main domain, without adding http:// it ...
1
vote
1answer
181 views

Securely running LAMP under a specific user

I'm setting up a sandbox type of server that will be used by a couple users as a development environment and knowledge base. The server will have a web frontend so I've installed Apache, MySQL and ...
0
votes
1answer
177 views

Bash config files being read in contradiction to `man bash`

While trying to determine the differences between .bashrc and .bash_profile I notice that .bashrc is never read, and that .bash_profile is only read from SSH, but not from PHP. This seems to ...
0
votes
1answer
3k views

httpd memory usage very high

I host a wordpress site on my server which has 2GB mem, I have used some cache plugin, but when I type ps -eo "%C : %p : %z : %a" | sort -k5 -nr in SSH, I see the httpd memory usage is very high. ...
0
votes
1answer
52 views

What directory should I use for the user apache?

I have installed apache from the source with:prefix=/usr sysconfdir=/etc/httpd/ localstatedir=/var. useradd -g apache -d /usr/apache -s /sbin/nologin apache
0
votes
1answer
5k views

“client denied by server configuration” with “AllowOverride All”

I've installed CentOS 6.3 with Apache 2.2 on a VM. I'm trying to set up a LAMP stack with these VirtualHosts: localhost loads the path /var/www/html/ lcl.mydomain.com loads the path ...
2
votes
0answers
101 views

No communication services enabled following startup

I recently installed Parsix (Debian) on my system, and I've been struggling to figure out how to autostart my services. Of the list of services that don't run and should run are: ssh apache mysql ...
0
votes
2answers
89 views

Problem accessing an Apache-hosted folder

I'm running Centos 6.2, and Apache. I'm running into an error to do with access rights/permissions when trying to navigate to a webpage. I'm trying to go to the URL http://localhost/repos, but I get ...
1
vote
1answer
2k views

How can I get my Mountain Lion Mac to have Apache serve up content on port 80?

There might be more than one problem here, but I got my Mac back from the shop after the hard drive was failing, and the new hard drive reproduced my home directory but not httpd.conf. Since I have ...
6
votes
1answer
3k views

Blocking visitors that access by server IP address

My Apache Server IP address is 192.168.1.100 and the Domain Name is test.local. If a user types in the URL, say "http://test.local", then they should be allowed. If a user tries to access "http:// ...
5
votes
1answer
2k views

recovering deleted file held open by apache?

suppose an apache log file gets deleted but its held open by apache then this is what i am doing. pid=$(lsof | grep text.txt | awk '/deleted/ {print $2}') fd=$(lsof | grep text.txt | awk '/deleted/ ...
2
votes
1answer
1k views

What do the “apachectl fullstatus” columns mean?

The columns are: Srv PID Acc M CPU SS Req Conn Child Slot Client VHost Request
2
votes
2answers
3k views

How to allow www-data to create a folder without giving read access to the parent folder

I'm not exactly sure the right question to ask, so I'll try to explain what I'm trying to do. I have an internal web application (in PHP) that I want to be able to create a folder. The trouble is ...
0
votes
1answer
10k 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 ...
0
votes
4answers
10k views

HTTPd shows PHP code instead of executing it

My setup: # grep php /etc/httpd/conf/httpd.conf LoadModule php5_module modules/libphp5.so AddType x-httpd-php .php AddHandler php5-script .php # grep PHP /etc/httpd/conf/httpd.conf PHPIniDir ...
1
vote
1answer
182 views

Web server won't show Drupal install page

My web server is showing an Apache 2 test page when it should be showing the Drupal install page. I've set up permissions correctly, so the last thing I've read it could be are the iptables firewall ...
0
votes
0answers
388 views

How to stop mail with PHP error messages to root?

Today, my Centos has a problem. When I type df -h in SSH I get: /dev/vzfs 61G 61G 0.3G 99% / The disk is full. I found that /var/spool/mail/root is nearly 53GB. tail /var/spool/mail/root -n 50 ...
1
vote
3answers
3k views

Can only access my webserver from my computer?

I am learning Apache2, and I just attempted to make my local web server live to the internet. When I type my IP 86.207.14.136 on the browser's address bar and access it, I see the index.html stored ...
3
votes
3answers
972 views

Use of variables in Apache configuration

I have a number of largely identical configuration files in my Apache2 configuration, for configuring various subdomains. In most of these configuration files, only the name of the subdomain itself is ...
1
vote
1answer
59 views

Apache2 configuration issue?

Why is it that when I write the directive Alias /hello /myfile.php it works fine, but if I write Alias /hello /myfile.php?myvar=test apache gives me 'NOT FOUND'.
2
votes
1answer
682 views

Strange issue with curl/lynx and non resolving domains

I have a weird issue on my server in that if I use curl or lynx to try and access a URL that doesn't exist (say a non registered domain, or a domain that's not in DNS), I don't get an error, it ...
2
votes
4answers
222 views

Executing programs without having to specify a directory?

Why is it that I have to type /etc/init.d/apache2 (args) in order to run apache?? Isn't there a way to just apache2 args ??
1
vote
3answers
624 views

Make Apache view hidden files (Solaris)

Is it possible to make an Apache server like this Apache/1.3.41 Server at user.it.uu.se Port 80 display hidden files (i.e., those who start with a dot) in a specific directory? I have some ...
1
vote
0answers
244 views

Apache configuration wont update

I have just installed this server with Ubuntu server 12.10 and then installed Apache2, however now when I run service apache2 reload or service apache2 restart it claims to have suceeded in updating ...
0
votes
2answers
1k views

Best way to find out what Linux Version is used on a Webserver

Is this feasible? Can I find out which distro is used to host specific webpages? Whois doesn't have info for this.
2
votes
1answer
355 views

How to move the /var/www directory to a USB HDD?

I have a default OpenBSD 5.1 install. How Can I enabled httpd, OK. QUESTION: How can I use the /dev/sd0a on /mnt/usbhdd type ffs (local, nodev) instead of the default "/var/www" directory? What ...
6
votes
3answers
4k views

A Web ssh/telnet client

I'm in kind of a tight spot right now. I wanted to know if someone has seen a HTML, or PHP web ssh client as both my company and school block everything besides port 80. I'm a control freak when it ...
1
vote
1answer
125 views

Update HP-UX 11i software

I have an old HP-UX 9000/800 PA-RISC B.11.11 (11i) on hands and I'd like to update its services to newer version. Actually, I'd like to update LD from current version B.11.18 to B.11.32; and ...
1
vote
1answer
80 views

Embedding a cmap in moinmoin

I'd like to embed a cmap in a moinmoin wiki page. I generated the cmap using dia. I then copy pasted the generated html code, modified it to point to the png image I attached to the wiki. However ...
1
vote
1answer
1k views

ProxyPass with Gollum wiki

I'm trying to run Gollum, a wiki that uses git, on a Debian server for personal use. Launching it without any command line options makes it listen to to http://localhost:4567, which I can access just ...
2
votes
3answers
1k views

Cannot Access Webpage from Outside LAN

I have a CentOS 6.0 web server running httpd, mysql, php, and Joomla 2.5. It has a static, public IP address. I can access the webpage (which is the Joomla management console) by IP address perfectly ...
2
votes
0answers
923 views

Owner & Group setting for OpenCart install on CentOS 6.3

I'm setting up a development server on a HP microserver with CentOS 6.3. I'm relatively new to Linux and have ran into some issues/confusion. I have the server fully setup/updated with yum. It's a ...
0
votes
0answers
356 views

mod_python won't “./configure” because it can't determine httpd version

I'm trying to install mod_python 3.3.1 on Apache 2.4.3 and whenever I try to run ./configure (with apxs etc) and instead of configuring correctly, it says that Apache 2.x is required and my current ...
3
votes
1answer
496 views

Bot requesting odd resource in apache logs

While studying for the RHSCA exam I set up my first home server and quickly found that bots had already started requesting commonly vulnerable files. It was alarming at first, then just purely amusing ...
1
vote
3answers
12k views

Apache 403 Forbidden on sub folders?

I can view all files in the root directory (/var/www) but as soon as i enter a sub directory (eg /var/www/test) i get a 403 Forbidden error. I'm running Ubuntu 12.04.01. Have tried searching for ...
2
votes
1answer
1k views

How do I get simple scripts which seem to need root priveliges to run via the www-data user?

I am programming a small webinterface to control samba on Debian (kernel 2.6.32-5-686). I started by writing simple scripts to add users, create folders, etc. They worked fine when run as root. ...
14
votes
2answers
15k views

How to avoid apache reload when rotating logs?

I use logrotate to rotate Apache access-, error- and rewrite-logs. My config file looks like this: /apache/*log { compress dateext rotate 365 size=+300M olddir /log/old/apache ...