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
1answer
2k views

Why don't I see the XAMPP page on Linux Mint?

I am trying to install PHP MySQL on Mint 12. I downloaded and installed XAMPP. According to the tutorial, when I go to localhost in a browser I should see this: Instead, I see: It works! This is ...
19
votes
2answers
37k views

apache2 Invalid command 'SSLEngine'

When I restart httpd, I get the following error. What am I missing? [root@localhost ~]# service httpd restart Stopping httpd: [ OK ] Starting httpd: ...
3
votes
1answer
839 views

Enable .Net 4 Mono on OpenSuse

I have an OpenSuse Linux server and want to run an ASP.net web project. I have installed the apache2 module mod-mono, but when I try to access the ASP web pages it looks as if it is attempting to use ...
4
votes
1answer
152 views

If I'm logged in as root, how do I restart mysql or apache with options?

I know the commands to restart/stop/start, but when I try to pass options it doesn't seem to work! CENTOS 6, MySQL 5.14 service mysql restart service httpd restart Then I tried this: ...
2
votes
1answer
3k views

Port Mirroring using iptables - copy all traffic among nginx on :80 and apache on :8080

I have nginx running on port 80 and apache running on port 8080 I want to transfer all the traffic to both nginx and apache asynchronously i.e the performance of one server wont be dependent on the ...
6
votes
1answer
327 views

Unkillable apache2 processes

After upgrading from debian lenny to squeeze (apache2 2.2.16-6+squeeze4 and php 5.3.10-1~dotdeb.1), my apache processes started to exit with segmentation fault. It happens every 5-30 minutes (for 1 ...
27
votes
2answers
68k views

What user should apache and PHP be running as? What permissions should /var/www files have?

I just spun up an Ubuntu 11.10 box and then ran apt-get install apache2 php5 to install apache2 and PHP 5 on the box. Now it is functioning as a "web server" and it loads the "It Works!" page. Now I'm ...
7
votes
4answers
9k 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
2answers
409 views

Apache server doesn't start when mod_sm.so is loaded

I have an Apache 1.3 on a Sun machine (SunOS 5.10 Generic_138888-01 sun4u sparc SUNW,Sun-Fire-15000). If I keep the following two lines in httpd.conf, the server will not start: LoadModule sm_module ...
2
votes
1answer
93 views

Restrict local website to selected users

Suppose I have two local websites under /var/www/mysite1 and /var/www/mysite2 via apache I can access them via localhost/mysite1 and localhost/mysite2. The pages are for local use only and I have ...
1
vote
2answers
560 views

How to “get” a HTTPS website running?

I have a website serving several pages that can be reachable via HTTP. How can I make these sites available via standard HTTPS? (not self-signed). What are the steps? (go to a CA, and then?) Can ...
-1
votes
1answer
372 views

How to find the htpasswd file created for SVN over Apache?

I setup subversion with remote access over apache. I created an htpasswd file for it, but now I've forgotten the filename and path. How can I find it?
0
votes
1answer
481 views

How to redirect user to Android Market in Apache?

On my website I should redirect Android users to my application on Android Market. What is the optimal way to do this? My first idea was RewriteCond %{HTTP_USER_AGENT} Android [NC] ...
1
vote
2answers
992 views

Setting up Apache 2 Local Development Environment & Permissions

I frequently find myself encountering problems (usually permissions) when trying to setup a local development server. Or creating a new site (alias). Very common problem is I need to allow www-data ...
0
votes
2answers
536 views

suphp directory not owned by user

I have an odd problem with suphp. I have logged in as tom and added some php to a directory in my web server. Now I'm getting this error: Directory /home/.../web/public_html is not owned by tom I ...
0
votes
1answer
659 views

apache ldap authentication taking far too long

I configured apache2.2 (CentOS 5.6) to provide ldap authentication with Active Directory. <Directory "/var/www/html"> AuthType Basic AuthName "Authenticate with domain ...
3
votes
3answers
6k views

Why is apache2 showing up a defunct in the process list?

When I run top I see one line that doesn't look too good: 2475 www-data 20 0 0 0 0 Z 1 0.0 0:00.19 apache2 <defunct> Why is this process <defunct> and what should I ...
1
vote
1answer
762 views

How to rewrite all subdomains except one

Right now my rewrite rule forwards all subdomains except chat.auricle.fm to the root: RewriteEngine on RewriteCond %{HTTP_HOST} ^.*\.auricle\.fm [NC] RewriteRule ^(.*)$ http://auricle.fm/$1 [L,R=301] ...
2
votes
4answers
740 views

Creating a public document directory for a normal user

We usually see personal web pages like http://a-site.com/~someone/, in this case, "someone" is a user of "a-site". How to enable this by default, so whenever we add a new user "foo", then ...
1
vote
2answers
2k views

Can't access Apache log folder

I want to see apache log file. This is what I tried: I granted most all permissions to apache2 folder. hieund@hieund:/var/log$ sudo chmod a+rw apache2/* But I can't cd to it. So I add my user to ...
1
vote
1answer
1k views

How to use localhost in browser instead of localhost:10088?

Installed zend-server CE. I would like to use this port (10088). But anytime I enter localhost I should enter localhost:10088, because localhost doesn't work. In the hosts file I tried to enter ...
2
votes
1answer
1k views

New files and folders created, automatically inherit same permissions as parent folder

Does it exist? I create a folder with, let's say, all permissions set, and some services (i.e. Apache web server) create subfolders and put files there (uploaded media files from website users). Such ...
0
votes
1answer
363 views

Apache redirecting when it shouldn't

I have inherited a LAMP server with a lot of customization. I want to enable mod_status in apache to get some monitoring of apache started. Problem is, with mod_status enabled in the httpd.conf, I am ...
2
votes
1answer
161 views

Wikilink to a symbolic link in ikiwiki

I am running an ikiwiki for my personal use on my laptop via apache2 (os: ubuntu 10.04). If I want to make a link to a local pdf-file I put the file into my scrdir and use the usual wikilink syntax. ...
1
vote
3answers
3k views

Troubles installing php with MySQL support

So I wasn't sure if this question would go best here or on Overflow or Server Fault, but decided to try here first. I'm installing LAMP on a VPS, and am running into issues configuring and building ...
2
votes
1answer
482 views

How can I monitor the load of a php script on a server?

We've got a website on our dedicated server which seems to be causing problems. Recently it has been crashing our dedicated server - it's very annoying. It will crash at random times. The tech ...
3
votes
1answer
441 views

Creating a local in-house testing web server

What we are trying to achieve is to have an in house Linux-based (probably Ubuntu) web server which we can test on before pushing to our remote dedicated hosting server. The problem we are going to ...
3
votes
3answers
4k views

How to configure permissions to allow gedit, apache, and an IDE play together?

I'm using plain Ubuntu Desktop 11.04 and installed my lamp stack using lamp-server. I am trying to use Netbeans as my IDE. Currently, all virtual hosts are being run from /var/www/vhostname -- but as ...
2
votes
2answers
3k views

Virtual hosting a tomcat webapp in Apache on RHEL 5.0

I am in a hosting fix! I have developed a web app for my organisation that allows sharing, interacting, etc. I want to DEPLOY IT ON LAN. BUT... I don't want the end user to type: ...
1
vote
2answers
785 views

nagios w/o apache?

I want to install nagios but instead of using apache i would like to use nginx. I installed nagios-cli and it automatically brings parts of apache which puts a script into /etc/init.d/apache2 and ...
14
votes
7answers
42k views

“Symbolic link not allowed or link target not accessible” / Apache on CentOS 6

I've got a brand new CentOS 6 installation, which has a symlink in the document root to my development files: [root@localhost html]# ls -l total 4 -rwxrwxrwx. 1 root root 0 Sep 18 20:16 index.html ...
2
votes
1answer
1k views

Getting PHP fatal errors in vTiger while logging from a normal users [closed]

I am getting the error below and notices in Apache logs when I am trying to login with any normal user on vTiger although admin user is working fine and able to see everything as expected. Below are ...
1
vote
1answer
220 views

can't open transfered website from old DS to new DS

I have 2 dedicated servers both running CentOS 5.3/Plesk 10. I've transfered a website (domain) from old server to a new one via Plesk migration manager and the website (domain) shows in the domain ...
5
votes
2answers
6k 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 ...
0
votes
1answer
2k views

Install apache,php and mysql on CentOS VPS

I try to install apache,php and mysql server by these commands. yum install httpd yum install php install mysql-server mysql service httpd start service mysqld start to start your mysql server ...
2
votes
0answers
906 views

Permissions for Apache and FTPd users

I'd like advice about permissions on directories and files on a web/ftp server. Here is my situation: Debian Server with those user:group userme:userme for SSH www-data:www-data for apache/php ...
2
votes
1answer
711 views

Check for process already running in webfaction?

I use Django framework on webfaction and have 5 different cron jobs. One of them lasts much longer than others and sometimes gets stuck (30-120 seconds or more). I have already set that cron job to ...
1
vote
1answer
295 views

how to find the server key [closed]

When I run openssl s_client -connect 0.0.0.0:8006 I get the Server certificate as: -----BEGIN CERTIFICATE----- MIICSTCCAbKgAwIBAgIESfnb7zANBgkqhkiG9w0BAQUFADBpMQswCQYDVQQGEwJJ …. From which ...
0
votes
2answers
268 views

Linux (Debian) web server advice

I'm at the start of a new company in which the main activity is building internet web apps. I was very familiar with linux 8-9 years ago, but since then, I've lost a lot of touch with it (couldn't ...
1
vote
1answer
513 views

How can I get mod_perl running in Arch Linux?

I've installed mod_perl, and even tried enabling it, unfortunately it seems to be preventing apache from starting. LoadModule perl_module modules/mod_perl.so here's the error. /usr/sbin/apachectl: ...
3
votes
1answer
556 views

Writing a bash script for apache conf files

I'm trying to automate creating vhosts on my computer. This is merely a learning experience for bash scripting. I'm currently novice. I'm trying to learn more about awk, sed. No, this isn't homework. ...
3
votes
1answer
463 views

can't view images stored on mounted network drive on linux webserver

I have a network drive mounted at /home/lv_admin/uslonsnas001 where I have stored images. The mount point and all sub folders have rwx mod 775 privileges. My PHP script moves the images to this ...
2
votes
2answers
3k views

FreeBSD: How to install Django with mod_wsgi?

Using FreeBSD 8.2-RELEASE. I want to mess around with Django and I want a working setup on my freebsd system. My understanding is I need to install python, apache, mod_wsgi, and django. The ...
2
votes
2answers
2k views

Run Ubuntu 10.04 LTS with Apache2 SSL with passphrase

I am setting up a Virtual Machine with Ubuntu 10.04 Lucid Lynx Server. I have been reading the section on setting up Apache with an SSL certificate within the book : "Beginning Ubuntu LTS Server ...
4
votes
2answers
937 views

Limiting the Size of Apache HTTPD Memory Footprint

I have a web server running Cent OS 5 with Apache. I have over 1GB of Ram and the MaxSpareServers set to 15. This would be fine under most situations, but for some reason my httpd processes are ...
3
votes
1answer
1k views

Running MPlayer through a PHP script

I'm trying to open an MPlayer instance on my server from a PHP script (using PHP's system() function). I've looked into making mplayer a slave ( http://www.mplayerhq.hu/DOCS/tech/slave.txt ) but when ...
3
votes
5answers
9k views

Apache won't start on Fedora 15

I can't get Apache to start on Fedora 15. I downloaded a project into /var/www/html and changed myself to the owner (recursively), though I don't think I changed any SELinux contexts or anything like ...
1
vote
2answers
7k views

Apache 2 and PHP 5 not working

I have a test.php file in the web server directory with php phpinfo(); content. When I try to execute php test.php at a shell then it executes correctly. But when I try to open the web page in a ...
2
votes
1answer
470 views

Subversion on Ubuntu server - setup issues

I have followed a guide for setting up a Subversion server and I cannot seem to access any repositories that I have created and imported from a Windows based SVN repository. In the past, I installed ...
5
votes
3answers
11k views

Missing init.d/apache2 file

I am new to linux and just recently messed up my first apache/tomcat configuration. After trying to delete apache and tomcat, and now trying to reinstall apache 2, I am missing the init.d/apache2 file ...