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
1answer
275 views

Use an existing wampserver from a windows partition on linux mint

I dual boot Windows 7 and Linux Mint 14. I have wampserver installed on Win 7 and have a couple of websites already set up there. Is it possible to use that same installation apache/mysql/php ...
2
votes
2answers
609 views

Ubuntu Bash - Changing permissions to user files for automating Apache VirtualHost creation

Moved here from AskUbuntu I currently have a small Ubuntu Server 12.04 machine (test environment) with about 3 non-root users created. Each user has their own public_html directory under their ...
0
votes
1answer
1k views

Arch Linux: Apache just isn't interpreting the index.php files

Title is self explanatory. I'm on Arch Linux, I installed the apache, php, php-apache and mariadb packages. I have added the following line to the /etc/httpd/conf/httpd.conf file: LoadModule ...
1
vote
1answer
43 views

See which file using postfix

I have a - what I think Malware - problem on my site. Using my server to send spam mail. When running top and SHIFT+M I get the following: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ ...
-2
votes
1answer
324 views

Looking for a yum package repository containing apache subversion

I'd like to be able to install Apache Subversion on Red Hat with yum. Can anyone recommend a package repository?
2
votes
1answer
218 views

(Ab) use Apache as a proxy

I have a publicly available Apache server. Is it possible to redirect all incoming requests (e.g. http:// publicname/test/) so that all accesses to /test/ are redirected to another server (in the ...
1
vote
0answers
417 views

Debian - Apache 2.2 & mod_php - memory usage

I have a memory problem with my servers (Debian 6.0) where is installed Apache httpd 2.2, mod_php and APC. Actually it seems that httpd allocate all available memory (4GB) when is waiting too much ...
1
vote
1answer
407 views

Apache created files and its permissions for CentOS 6.x

In short, I have an authenticated HTTP-POST that: posts a jpg image (created as 666 apache:www) into /directory1 (777 ftpuser:www) creates /directory2 (created as 666 apache:www) in a 777 ...
-2
votes
2answers
852 views

Linux distrib with apache and mysql pre installed [closed]

Is there a Linux distro with apache and mysql pre installed? I just want a light and fast installation of apache + mysql + ftp server + phpmyadmin
1
vote
0answers
246 views

403 Forbidden on Sub-Folders

I am a Linux newbie and decided to do a LAMP install to start getting more familiar with it (as our company is moving more towards nix these days). Everything went great and PHPMyAdmin, MySQL, ...
2
votes
1answer
310 views

Restrict two way SSH and Apache authentication to non-local networks

I am using Google's open-source PAM module for two-way authentication for SSH logins and certain Apache directives. It works great, however I would like to use this only when trying to log in from an ...
5
votes
3answers
2k 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 ...
2
votes
2answers
136 views

How do Apache2 VirtualHosts get resolved?

As I understand it, when you request a url from a website using your browser, it asks the DNS server that the OS is pointing at if it knows the ip address that relates to the dns-name of the server; ...
2
votes
2answers
3k views

Cannot access to web server, but can ssh to it

I have a Ubuntu server but there are some weird things I can't understand. I cannot ping to the server via IP address, but I can ssh to it. I can access to apache server inside the server via command ...
2
votes
1answer
1k views

Use server name instead of IP address

Installed apache 2 in my Ubuntu server and I use many web application like osc, glpi. To browse these applications I have to write @ip/glpi in browser. my purpose is to use servername instead of ip ...
1
vote
0answers
280 views

mod_rewrite: undefined symbol: lstat error

I compiled the mod rewrite for apache (version 1.3.0) however, when I try to run the server I have this error about mod_rewrite: Syntax error on line 27 of /home/myuser/apache/etc/httpd.conf: Cannot ...
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
20k 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
269 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
467 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
777 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
134 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
353 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
425 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
126 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
440 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
534 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
195 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
178 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
54 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
4k 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
11k 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
183 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
394 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
985 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
702 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 ...