Open-source HTTP server.

learn more… | top users | synonyms (1)

4
votes
0answers
2k views

VirtualHost In Localhost Is Not Accessible From Localhost When Offline, How To Fix It?

I am setting up my own local development web server, mainly for theme development. I've successfully setup LAMP in Ubuntu 13.04 64bit Desktop, apache works fine. The machine where LAMP is installed ...
3
votes
0answers
14 views

How to find the site that crashes the server?

Probably 1 out of 100 sites crashes the VPS every few days. Apache connections go to few hundreds and mysql requests to few millions. That causes the CPU to be at 100%+ permanently and making the ...
3
votes
0answers
67 views

Could I recompile php after install with apt-get?

the title says a lot I guess, I want to install my lamp serve with: apt-get install lamp-server^ And after that I want to recompile the php to add the pthreads, it is possible install the lamp ...
2
votes
0answers
31 views

“-/+ buffers/cache memory” is zero

i have an OpenVZ VPS with ubuntu server 14.04.2 and i can access to a SolusVM control panel. Recently, "memory usage" is always 0 KB, and only "vswap usage" shows real swap usage. if i run free -k i ...
2
votes
0answers
67 views

Why does libapache2-mod-php5 get removed whenever I upgrade apache2?

I hope someone can help me figure out what is going on with my apache upgrades. For years, whenever I upgrade apache2, it tries to install apache2-mpm-itk even though I use the prefork module ...
2
votes
0answers
224 views

403 Forbidden Error after changing LAMP Apache root/ www directory

I installed and set up all the LAMP services, and got it working from the www folder, thing it though I need it to point to a folder in my Dropbox (on the same partition) I modified the ...
2
votes
0answers
339 views

The apache2 configtest failed - modesecurity

I would like to create an application to monitor device network traffic and permissions. To do so I want to configure local modesecurity, using I this procedure but when I install modesecurity I get ...
2
votes
0answers
75 views

How to disable mpm-itk for a specific virtualhost?

I've a main site on a server that needs to run a sudo command which I white listed via visudo. That worked fine until I installed apache-mpm-itk and then I started getting the following error: sudo: ...
2
votes
0answers
47 views

I want to create an FTP account that can oversee multiple other FTP accounts. How should I manage my permissions and users?

I rent my own virtual server. I installed Ubuntu Server 14.04 and use it as a webserver. I have hosted some websites of my own on this server, as virtual hosts. I also have a few friends who I give ...
2
votes
0answers
57 views

Ubuntu freezes for 44 seconds every 8 minutes

I am stuck on a problem and am wondering if you have any ideas. I have sites on an Ubuntu server in Sydney with RackSpace. Every 8 minutes, without fail, the server hangs for 44 seconds. The ...
2
votes
0answers
937 views

Enable all HTTP methods on Apache

I have set up a completely plain Apache web server (version 2.4.7) on Ubuntu Server 14.04.1 LTS. I want to enable other HTTP methods such as PUT and DELETE for some testing purposes. I edited my ...
2
votes
0answers
84 views

Root web folder points to /var/www

Not sure if this is the right place for this, but I have been running an Owncloud instance on my home server. I originally did it through apt-get, and ran it in the default folder (/var/www). I later ...
2
votes
0answers
1k views

Apache restart not working properly?

I'm newbie to ubuntu. And I'll install the lamp and phpmyadmin its also working fine, but my problem is when I trying to restart the service of apache2 is not restarting good, its says looks like, ...
2
votes
0answers
1k views

How to install git server with apache authentication on Ubuntu 14

I trying to install git server on Ubuntu 14 following these steps: www.jmuras.com I made a little change when creating git.conf and symbolic link cause goes on different folders for Ubuntu 14, i did ...
2
votes
0answers
3k views

Apache not working (showing empty folders or 404)

I have updated Ubuntu to 14.04 and apache stops working. I have reinstalled apache and all dependencies with no success. When I enter localhost I see apache indexing the www/ folder but it is empty ...
2
votes
0answers
4k views

Problems with OpenSSL-Heartbleed in Ubuntu12.04LTS

Since I have not enough reputation to comment an existing Answer, I create this new question. I have a vServer with Ubuntu 12.04LTS. Because of the Heartbleed-Bug in OpenSSL1.0.1 I upgraded all ...
2
votes
0answers
109 views

Why does apache2 default to LANG=C instead of UTF8 or system default

The 10-year-old comment in /etc/apache2/envvars simply says "The locale used by some modules like mod_dav", but why can't mod_dav be fixed to also handle a better LANG setting for the rest of apache?
2
votes
0answers
239 views

How do I save an uploaded file in PHP?

In PHP, I'm trying to save a file to the /var/www/upload directory, but whatever I try, it doesn't work. I've tried giving www-data ownership of /var/www and subdirectories. I've tried modifying the ...
2
votes
0answers
286 views

Upgrade Apache 2.22 to a version that supports ECDHE

I'm trying to setup my Ubuntu 12.04 server installation to support perfect forward security. It seems that the default Apache 2.2.22 build does not support ECDHE. Any suggestions on a good way to ...
2
votes
0answers
3k views

Private key not found

I have tried to generate server certificate for apache2 earlier.... I have noticed one error in apache server. Which means that Apache can't find the private key component of new SSL certificate. Now ...
2
votes
0answers
466 views

How to access a /media folder that has been mounted from a external hardrive?

I'm using Ubuntu 13.04 x64. I have installed Apache, php5. I have configured two sites folders in the /etc/apache2/sites-available/default One is the in /home/me/www and the other is on the external ...
2
votes
0answers
187 views

setup gzip for svg on apache2 server in ubuntu12.10

I need to enable gzip for svg globally but not able going well. I have gone through a lot of links nothing seems to work. to keep in simple below are the steps after installing apache I placed a ...
2
votes
0answers
386 views

Trouble with local server, URL not found errors with some, but not all local sites

I am setting up my Ubuntu laptop for my new job and I am having a strange issue. They have a crazy environment setup that I got working on my local Ubuntu 12.10 machine with Apache and PHP 5.3 (had to ...
2
votes
0answers
312 views

Why does UFW seem to slow down wordpress?

I have a speedy install of wordpress going on ubuntu 12.04. Everytime i enable the UFW firewall, things can get really slow. Sometimes fast, sometimes slow, intermittently. Logging on through ssh ...
2
votes
0answers
131 views

Server setup for multi-site development web server with multiple contractors logging in?

While I've been using Linux for many years as a desktop OS I'm still a novice at the more serious server admin stuff. Basically I'm looking for a best practices that covers: Hosting many domains (I'm ...
2
votes
0answers
2k views

phpmyadmin problem

Somehow, I manages to install appache2, php5, mySQL server and phpmyadmin. Typically, I should type "localhost/phpmyadmin" in my browser to open the phpmyadmin interface .. however,this is what ...
2
votes
0answers
531 views

How do I configure Wordpress to update automatically?

I installed apache2, mysql, php5 and phpmyadmin Now i moved my old Wordpress installtion from my htdocs Folder under Windows in my /var/www/ Folder under Ubuntu. Now, when i want to update some of ...
1
vote
0answers
29 views

Ensuring fail-safety of an Apache server

I have a few Wordpress websites running on Apache 2.4.7 / Ubuntu 14.04.2 LTS. It is a virtual machine running on Microsoft Azure. The websites are using a MySQL server also running on the same ...
1
vote
0answers
30 views

Configuring virtual hosts in apache2

I'm using Apache 2.4.7 and trying to configure virtual hosts. I'm getting: You don't have permission to access ... on this server error when I'm using following configuration: ScriptAlias ...
1
vote
0answers
22 views

php5-fpm tuning - why do I have too many sleeping php-fpm processes?

So I recently went from apache2 with mod_php to apache2 with fastcgi and php5-fpm. (still same prefork module). But I am not sure if we have configured php5-fpm properly. We don't run a website but ...
1
vote
0answers
33 views

How do I connect to my VirtualBox Ubuntu 14.04LTS from the host's public IP(or domain name)?

I've been having a hard time with this. It's probably been 3 days now... Anyway, I've set up my virtualbox on Windows7 with a bridged adapter (eth0). Installed LAMP server and it works. I can ...
1
vote
0answers
13 views

Can't change default port of a service (apache2 & postfix)

When trying to set up a server I stumbled upon a terrible problem: I can't seem to change a service's default port. I have tried to change Apache2's & postfix's default port and all I get (with ...
1
vote
0answers
58 views

Problem installing apache 2 in ubuntu 14.04: dpkg:- error processing package javascript-common (--configure):

I was trying to reinstall my apache 2 after un-installing it. But on installing it using command- sudo apt-get install apache2 i am getting error- rahul@rahulpc:~$ sudo apt-get install apache2 ...
1
vote
0answers
39 views

PHP version update gone wrong

I've followed instructions on updating the PHP version on my server from 5.3 to 5.5 During the installation it threw php5-common dependency errors. I've managed to fix the dependency errors by ...
1
vote
0answers
72 views

Apache won't start - PHP issues?

I'm somewhat of a Ubuntu newb and have recently set-up a ubuntu VPS (on the azure network). I am using webmin / virtualmin as a means to administer the server and quickly * easily create and ...
1
vote
0answers
103 views

Smart HTTP git backend with apache2

I'm trying to use the smart HTTP functionality of git on my Ubuntu Server. I've read the documentation for both smart HTTP and git-http-backend, as well as the documentation for apache; but for the ...
1
vote
0answers
35 views

PHP5 shared (apache2 & cli) configuration

I need to set the date.timezone setting in my PHP5 configuration. Obviously I could simply edit the php.ini files (both /etc/php5/apache2/php.ini and /etc/php5/cli/php.ini), but that doesn't feel like ...
1
vote
0answers
86 views

Server permissionsto allow php script to run but other users cant open

I have an apache server set up, there is a php script for a login page (contains passwords). I want to be able to give the server permissions to run the script but not for users who login through ...
1
vote
0answers
21 views

APACHE 2 DNS: DNS for mail server

I am trying to configure my own mail server. My domain name is: exemple.net I've created a sub-domaine (a virtual host an apache2): mail.exemple.net my hostname is: server01 (the name of the server ...
1
vote
0answers
35 views

HTTPS on Ubuntu instance Amazon EC2

I have a question which I hope somebody can answer for me. My situation: I have an Ubuntu Server running Apache2 on a EC2 Amazon instance, which is serving an OwnCloud instance. My goal: I want to ...
1
vote
0answers
107 views

Configure Django on Ubuntu Apache subdirectory

I am running apache2 server on Ubuntu 14. Now I want to configure Apache to work with mod_wsgi to run Django on a subdirectory of a domain such as www.abc.com/lab, but I always fail to do that. I ...
1
vote
0answers
51 views

Trying to set up Apache Virtual Server on Virtualbox

I have set up an Ubuntu 14.04 server with a Lubuntu front end in Virtualbox. I now want to configure two virtual servers on this system (something I have already done successfully on Windows). I just ...
1
vote
0answers
12 views

Trying to get into Php and Apache2 and this came up

Okay so while I was installing Apache2 and php all of a sudden I got this `**Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ...
1
vote
0answers
201 views

.htaccess and VirtualHost not working

I'm having trouble getting my .htaccess to work with the Laravel PHP framework on Rackspace Cloud Server/Ubuntu 14/Apache 2. Mod_rewrite is enabled using sudo a2enmod rewrite. I've reset and ...
1
vote
0answers
96 views

403 Forbidden message with Apache www directory inside of home

On my Ubuntu server, I've changed my /var/www directory to a subfolder inside of my home directory, and I'm now getting 403 "Forbidden" errors in my browser. I've read through a lot of similar ...
1
vote
0answers
932 views

Apache - Firefox can't establish a connection to the server at localhost

Im not able to access my localhost server by firefox. Im using apache, and ive tried to run the following commands $ service apache2 status * apache2 is running $ sudo service apache2 restart * ...
1
vote
0answers
160 views

Apache 2.4 rules, defaults and overrides for subdirectories with FilesMatch

I am having trouble understanding basic apache configuration. I want to enable a set of defaults for all files and directories on the server but then enable/disable or modify them for certain files ...
1
vote
0answers
177 views

Issue with Apache after upgrade from Ubuntu 12.04 LTS to 14.04.1 LTS

I have been reading the forums for a while but just joined. Hopefully I can contribute as much as I ask questions. Anyways, I recently upgraded an Ubuntu linux server from 12.04 to 14.04. Everything ...
1
vote
0answers
60 views

Why is apache still logging my PHP Notices?

I have edited /etc/php5/acpache2/php.ini and set error_reporting = E_ALL & ~E_NOTICE then restarted apache, yet my /var/log/apache2/error.log is still filling up with PHP Notice: Undefined index: ...
1
vote
0answers
175 views

Error 500 on localhost/phpmyadmin

I recently installed apache2 and phpmyadmin on localhost, and everytime I try to connect to localhost/phpmyadmin I get prompted with an "Enter your username/password". I enter root as the username and ...