1
vote
1answer
10 views

Apache2 server not working when outside of LAN

I'm running Apache 2.2.22 on Debian wheezy. My router is a Linksys E3200 I can access my apache server from within my LAN by typing in 192.168.1.xxx into the address bar. But if I'm at school and use ...
0
votes
0answers
11 views

`apache2ctl restart` makes apache forget about cgi-bin [migrated]

On my Debian machine (running the apache as packaged by Debian, package 2.4.7-1), every time apache restarts through apache2ctl restart or apache2ctl graceful, it forgets about my cgi-bin directory: ...
0
votes
1answer
25 views

After linux distro upgrade, Moin under WSGI throws 500 errors

I have a MoinMoin instance installed at /opt/mydebianwiki; the wiki runs under [wsgi] / [apache2]. I recently upgraded from Debian Linux 6 (squeeze) to Debian 7 (wheezy); before the upgrade, my ...
2
votes
1answer
40 views

Debian permissions for apache server

I'm trying to configure my apache server on Debian 7. I have the following configuration: Every linux user has a folder in the /home directory. In their user directory, they have a www dirctory. So, ...
0
votes
0answers
33 views

Setting Workspace with Aptana as /var/www?

I am using my system as the root user, which is not recommended however I am using sux to run applications as a notroot user. When I run Aptana Studio as notroot and set the workspace as /var/www it ...
0
votes
0answers
116 views

Port redirection with Apache mod_proxy

I have a server running a modified Debian Squeeze distro (OpenMediaVault, a NAS distro), and I want to add some Apache rules to map specific ports to subdomains. These ports are the running web ...
0
votes
0answers
29 views

Debian PHP 500 error

When I try to execute a php script (let's say /var/www/test/hello.php), I get an error in /var/log/apache2/error.log saying: "/var/www/test" is writeable by others Changing the permission on ...
0
votes
2answers
46 views

Apache2 - Images & CSS only available w/in local network, not via TLD

I'm running Apache/2.2.22 (Debian) on a local machine which uses a dynamic DNS service to be accessible from the outside. In general, this works like a charm. However, the server refuses to load both ...
0
votes
1answer
20 views

Apache not loading the appropriate page

I've recently setup a web server on my debian machine. Overall, everything is working wonderfully with one exception. When I'm joining the address without specifying any file, it keeps loading up the ...
0
votes
1answer
120 views

Apache 2.2.22 running a Django app shows error “client denied by server configuration”

I have a Debian 7.1 amd64 server with apache httpd 2.2.22 and Python 2.7.3 installed, to serve a django app which I've hooked to apache using mod_wsgi and default django wsgi.py script. Django is the ...
4
votes
1answer
2k views

Debian - Apache - User - Which chown?

I'm using Debian Wheezy. I've installed apache, php, mysql, the works. It works properly but for permissions that I need to set. so I have my sites in /var/www/mysite, and I'm struggling between the ...
0
votes
1answer
27 views

Configure a vhost on url-basis

Let's say I have my site www.mysite.com with it's vhost configured. Is it possible to configure apache in a way that when someone access ton www.mysite.com/site1 and other url such as ...
0
votes
0answers
134 views

Subdomains on a LAMP with a VPS?

I'm trying to setup a website with subdomains on my server. Here's my setup: VPS from RamNode with full root access LAMP stack on Debian 7.0 (Wheezy) Domain name from Namecheap, using RamNode DNS ...
2
votes
1answer
394 views

Apache downloads php files instead of running their source

I have just recently upgraded PHP 5.3 to 5.4 on my Debian Squeeze server. Now, instead of executing PHP files, Apache just downloads them, which is really bad. When I try to follow these steps, I get ...
0
votes
1answer
128 views

index.php file gets downloaded after PHP reinstall

I'm using SugarCRM CE edition 6.4 I uninstalled the php5 from the server (Debian Squeeze) then reinstalled all the php5 with it's modules. Restarted Apache (/etc/init.d/apache2 restart). Then after ...
1
vote
1answer
133 views

Cannot access localhost with proxy enabled

My office is a Windows environment, but I have just set up a linux (lubuntu 12.10) machine for me to develop on since I cannot access the command line in Windows. I have set up the LAMP stack on the ...
0
votes
1answer
551 views

Prevent high load average caused by apache

I've a remote server running Apache with some websites. Sometimes load average rises too much, and webserver is unresponsive I think it's caused by apache, but i can't check because ssh session is ...
1
vote
0answers
264 views

Apache 2.2 segfaults at restart with Phusion Passenger 3.0.19

When I restart Apache 2.2.22 prefork (as installed from Debian Testing) if the Passenger 3.0.19 module is enabled then sometimes (about 50% of the time; I can restart dozens of times with the module ...
1
vote
0answers
188 views

Apache Periodically Hangs

I have a small Rackspace-hosted Debian VPS running my personal web server. In the last few weeks, there have been several times where Apache (I'm running 2.2.16) appears to be just hanging ...
1
vote
0answers
106 views

multiple apache root processes

I noticed today that when making requests from our web server, things were rather slow. I started looking into it and I've found a load of root owned apache processes. I don't know for sure that this ...
4
votes
1answer
334 views

Making Apache use compiled PHP instead of bundled package on Debian

My ultimate goal is to install OwnCloud on my Debian box, a 64-bit squeeze. My setup is pretty simple. I have installed OpenPanel which in turn installs all of the required LAMP modules via APT-GET. ...
0
votes
2answers
977 views

Already uninstalled apache2 in Debian but it's still there?

I performed the following command apt-get remove apache2 but when I type service --status-all apache2 is still up in the list. How can you completely uninstall apache2?
2
votes
1answer
812 views

100 % cpu usage debian 32 bit due to apache processes

So there is a VPS with openvz virtualization, with debian 6.0 32 bit The problem is appearing approx. 1 week ago. The automatic security monitoring system is shutting down the vps that i'm running ...
0
votes
1answer
289 views

Two web applications on same domain

I installed 2 different web applications on my dedicated Debian 6. the first one sits inside /var/www/cast and the url assigned is ` example.example.com/cast ` I installed the second one that ...
1
vote
2answers
78 views

Detect host's name

Is it possible to somehow fetch the hostname where a website/service resides? I've tried looking into headers, and some more info, but from what I've seen it doesn't seem possible! As an example: ...
1
vote
1answer
1k views

Multiple SVN repos on Debian HTTPd vhost setup

I would like to have my svn/http server setup so I can access multiple repositories via a "svn" subdomain: https://svn.example.com/repo1 https://svn.example.com/repo2 I am using Debian 6, and ...
0
votes
1answer
909 views

Wildcard for /etc/hosts & Apache VirtualHosts

I have following structure of my web projects on my hard drive in /var/workspace/www/ firstdomain_com \- www \- anysubdomain seconddomain_com \- dev \- api \- www I need to run all these ...
3
votes
2answers
5k views

apxs, apxs2 is nowhere to be found in Debian

I was told i have to apt-get install apache2-dev but i get: apt-get install apache2-dev Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting ...
1
vote
2answers
900 views

Apache+WSGI+Python+Django giving me some strange errors

Here's a summary of what I've done I moved my django project to /pymodules/honstreams I've installed apache2 and apache2-dev I've installed pythonbrew, installed Python-2.7.2 and switched to it I've ...
0
votes
1answer
1k views

localhost 403 - How to set right permissions?

My DocumentRoot is set to /var/workspace/www drwxrwx--- 110 radek www-data 4096 Jul 11 11:34 www Firstly i had 777 permissions on that folder (and all files inside), but i don't like it, because ...
1
vote
1answer
2k views

Fix a broken apache2 install on Debian Squeeze

I accidentally broke my apache2 install, and was wondering if I could completely remove apache2 and everything related to it, and then completely reinstall it starting from scratch?
3
votes
1answer
4k views

Configure Apache to serve multiple subdomains via HTTP + HTTPS

I have a virtual server hosted at ISP with 2 public IPv4 addresses. I want to run several subdomains (more than 2) with Apache and serve them via both HTTP and HTTPS. The SSL cert is a wildcard one ...
1
vote
1answer
1k views

Installing libapache2-mod-passenger to Debian Lenny with apache2-mpm-itk

I'm trying to install libapache2-mod-passenger (from backports) to a Debian Lenny system containing apache2-mpm-itk. What happens is this: # aptitude install libapache2-mod-passenger Reading package ...
1
vote
2answers
130 views

Deplyoing stand-alone apache + subversion?

Would it be possible to make a apache + subversion install and somehow making it independent so it has all the libs it needs with him? Normally apache doesn't depend on much to build it and run it on ...
3
votes
2answers
10k views

Debugging Apache on Debian, where are the error logs?

I'm using a Debian server that already has Apache, mod_wsgi and a bunch of virtual hosts successfully running on it. I installed my forum app (Django's OSQA) and following the OSQA instructions, I ...