Open-source HTTP server.

learn more… | top users | synonyms (1)

3
votes
0answers
75 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
82 views

Apache 2.4 and mod_perl 2 on Ubuntu 14.04: local configuration

I'm trying to get Apache 2.4 configured such that I can test mod_perl 2 code locally (I should note that I have little recent experience with Apache). I've installed both of them on a machine running ...
2
votes
0answers
238 views

apache2 configtest failed with output “No MPM loaded.”

root@tasnim:/home/tara# service apache2 restart * Restarting web server apache2 [fail] * The apache2 configtest failed. Output of config test was: ...
2
votes
0answers
46 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
131 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
289 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
471 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
145 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 ...
2
votes
0answers
88 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
51 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
64 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
1k 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
97 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
2k 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
126 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
266 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
322 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
537 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
200 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
424 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
337 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
134 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
579 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
8 views

What is the secret unicode key for maas when reconfiguring maas-cluster-controller

I have a Ubuntu 14.04 server with maas server. I had an issue with rabbitmq message broker and reinstalled it. But it accidentally deleted region-controller settings and when configured again it asked ...
1
vote
0answers
35 views

How to run php files in ubuntu?

I installed apache2, php5 and mysql. http://localhost/ url in browser shows it works. I saved a php file in /var/www/ as testphp.php. Code in the file is.. <?php phpinfo(); ?> Now on entering ...
1
vote
0answers
46 views

Modifying php.ini - Wont see any changes after edit

I got a server that runs : PHP Version 5.5.9-1 ubuntu 4.9 I wanted to edit the "correct" php.ini file so i can enable some features. First of all i used: root@server ~ # find / -name php.ini ...
1
vote
0answers
1k views

Apache not able to restart

Trying to restart apache from terminal using following command: sudo service apache2 restart when executing that command getting below error: Job for apache2.service failed. See "systemctl status ...
1
vote
0answers
37 views

Local domains stop working

I have several sites configured in my local machine. I use Ubuntu 12.04 for long time and had these sites working well. Only few days ago from some reason they all stopped working. When I navigate to ...
1
vote
0answers
25 views

Apache daemon problem /etc/init.d/apache2

For the last 5 weeks, I have monitored some strange behavior. Every week at logrotate process time, the init script /etc/init.d/apache2 is being rotated as if it were a log file. The first week it ...
1
vote
0answers
16 views

Configuration for load balancer

I am trying to create a load balancer for a web server using Squid and Apache. Can anyone share the configuration for a load-balanced web server using squid and apache?
1
vote
0answers
65 views

Htaccess won't work

I am trying to set up .htaccess on Ubuntu 15.04 with Apache 2.4.10. Some things I have tried so far Modifying apache2.conf, from 'AllowOverride none' to 'AllowOverride All' for the var/www ...
1
vote
0answers
43 views

I cant install XAMPP for no reason (Ubuntu 14.04 LTS)

I have a problem, which might be too easy to see. i don get it right now. I have a 32 bit sys Ubuntu 14.04 LTS. i want to install the XAMPP Version for it but can manage to even start the installer. I ...
1
vote
0answers
54 views

phpmyadmin: unable to connect to 127.0.0.1

I recently installed LAMPP on Ubuntu 14.04. When I start/restart Apache on terminal it shows [OK] but phpmyadmin says "Can't establish a connection to 127.0.0.1". I have tried solutions provided in ...
1
vote
0answers
117 views

Apache no longer starts (AH02238: Unable to configure RSA server private key)

My Apache Server no longer starts. Checking the log shows that: [Fri Apr 24 18:05:01.342667 2015] [ssl:emerg] [pid 21220] AH02238: Unable to configure RSA server private key [Fri Apr 24 ...
1
vote
0answers
42 views

Auto deployment from bare Git repo to Apache

I am configuring a Ubuntu Server for our project now, Gitolite and Apache are working now without any problem and they are on same server, What I want right now is deploy Git repository to Apache ...
1
vote
0answers
171 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
46 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
94 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
64 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
23 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
150 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
83 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
128 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
242 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
66 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
108 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 ...