Use this tag for question related to configuring and using Apache on Ubuntu or one of Ubuntu's official derivatives.

learn more… | top users | synonyms (1)

0
votes
1answer
96 views

php and mysql issues

I've recently read Wallace Wang's “Beginning Programming for Dummies, 7 books in 1” and found it to be very enlightening, as it highlighted various differences between the three main operating systems ...
0
votes
2answers
2k views

Apache permission problem in ubuntu 12.04

i am new to ubuntu , i have install ubuntu 12.04 install in my system i have install localhost(lamp) in my system . i was trying to import a data base with more size so dor that i need to change the ...
11
votes
1answer
443 views

Strange POST requests to my Ubuntu server - am I in trouble?

I have an Ubuntu Server 12.04 installed on a VM. This server has apache2-mpm-prefork and libapache2-mod-php5 installed. I was looking through the logs and recently came across these rather ...
1
vote
1answer
2k views

Apache2 giving SSLcertificateFile error

I am using ubuntu 13.04. Initially I had installed apache2 and it was working fine but later it started giving some issues so i removed apache using following commands sudo apt-get autoremove ...
3
votes
5answers
38k views

Apache doesn't execute PHP files, but makes me download them

So I setup my server using this tutorial, and when the test.php file works with no problem when I enter the address using my server's IP as http://1.2.3.4/test.php However, if I use virtualhosts, ...
0
votes
1answer
82 views

How to create new files or modify existing files in a sym link?

I am new to the LAMP environment. I wanted to create files directly in my home directory instead of always copying it to /var/www. I created a sym link using the following command : ln -s /var/www ~/...
0
votes
1answer
234 views

Simple bash script does not want to start at reboot

I've build a Play Framework Application (cool Java/Scala Web Framework) and would like to start it automatically like Apache2 or MySQL Server. For this I wrote a simple Bash script and did chmod +x on ...
0
votes
2answers
3k views

Browser or Apache2 does not see files: “server software is running but no content has been added”

after opening http 127.0.0.1 in the browser it displays info: It works! This is the default web page for this server. The web server software is running but no content has been added, yet. The ...
0
votes
1answer
235 views

12.04.4 + MySQL 5.5 + Wordpress - MySQL Service Fails to Start

It appears that the issue is around the MySQL services starting as I receive the following in my /var/log/syslog when I attempt to restart the mysql service: Jan 17 08:19:38 blog kernel: [ 1704....
0
votes
1answer
673 views

How to set up Apache/MySql/Django environment for development

I've only been able to find tutorials to set up Apache/MySql/Django on servers, but I'd like to set up an environment on my machine for development. Does anyone have any good tutorials or suggestions? ...
6
votes
2answers
22k views

Symlink /var/www directory

I have been trying to create a symlink: /var/www -> /home/USER/code/ Following http://stackoverflow.com/questions/9104337/create-a-symbolic-link-of-directory-in-ubuntu , I entered the following ...
6
votes
4answers
5k views

Apache2 stop command missing

How do I stop my local apache server? /etc/init.d/apache2 and service apache2 give only 3 options -- restart, startand status I rebooted my syetem and now sudo /etc/inid.d/apache stop works but ...
-1
votes
1answer
273 views

Cannot load module after updating php to 5.5

after updating php and restarting the apache2 i get this error: Cannot load /usr/lib/apache2/modules/mod_R.so into server: /usr/lib/apache2/modules /mod_R.so: undefined symbol: ap_log_rerror This ...
1
vote
2answers
1k views

Ubuntu 13.10 apache keeps giving this error while accessing website

I have just installed Ubuntu 13.10. I followed this guide (most of it) to setup LAMP. Then I was getting this error about Could not reliably determine the server's fully qualified domain name ...
5
votes
2answers
1k views

Finding URL to VirtualBox Ubuntu Apache2 server

I am new to Ubuntu and have Apache2 running in a virtual box on my machine. I am trying to access this server on my Windows machine.. I am assuming that I need to find the ipAddress and the port to ...
1
vote
3answers
2k views

Kill off apache processes when memory usage hits 90%

My situation is following: We run Magento Professional on a 15Gb ram instance, rackspace. When running htop, we could see that 'apache2 -k start' keeps spawning more child processes, some of them ...
14
votes
2answers
78k views

cgi-bin not working

I reinstalled kubuntu 13.10, cgi-bin is not working. Apache downloads the cgi instead of executing it! I have the latest apache with cgi mod enabled. To 000-default.conf, I added these options: ...
0
votes
1answer
121 views

Is it possible to setup multiple Virtual Hosts with one ip/domain?

Is it possible to setup multiple Virtual Hosts with one ip/domain? We have a single domain (example.com) pointing to our server at ip (123.123.555.555). At location 123.123.555.555 we require the ...
4
votes
1answer
196 views

Ubuntu Server /var/log crazy disk usage

I had small system in my VPS, which only had 10GB disk usage. Now as I check /var/log directory used 6GB to only write log!!! which it sound very crazy to me. I have tried cleanup the log ...
0
votes
1answer
98 views

Help with directory ownership/permissions for apache

I've been using Ubuntu Linux for a couple years now but I still have trouble with permissions. I need to setup my web server for production. The root web directory should always be accessible by ...
1
vote
1answer
797 views

Ubuntu corrupted log files

It seems that all my log folders located in /var/log are turning into files. For example, if I try to tail /var/log/apache2.log it will say "no such file or directory" I can see it in the file ...
1
vote
1answer
217 views

How to fix: apache2 CAPTCHA generates a background graphics, but no characters?

Characters are missing on the 'CAPTCHA' image, yet the background graphics looks fine. No errors are displayed - the image works itself. Used fonts are various, put in CAPTCHA's folder as .TTF files ...
1
vote
1answer
1k views

Apache not working

I dont know how to fix this error: apache2: Syntax error on line 238 of /etc/apache2/apache2.conf: Could not open configuration file /etc/phpmymin/apache2.conf: No such file or directory
0
votes
1answer
6k views

SSL Reverse Proxy not working after upgrade from Apache 2.2.14 to 2.2.22

After upgrading my Apache to 2.2.22 I can no longer connect to my internal servers by https. Internal servers respond ok if I don't use HTTPS, otherwise I get this on the Apache log: [Mon Jan 06 18:...
1
vote
1answer
4k views

Permission problem with SFTP in FileZilla

Recently, we installed Ubuntu Server on our servers this is very new for us. However, we tried to setup a apache2 server which did work. But the problem is that we can't configure apache and other ...
0
votes
1answer
57 views

An installation of owncloud requires 12.04 server but mine is not stated as“server” [duplicate]

I am a super newbie so I hope this is not a stupid question but what will I need to qualify to run this software package? I've installed openssh and apache2 and they work fine so I think many of the ...
0
votes
2answers
419 views

Is it Good Practice to Change Apache's /var/www/ (Default Root Directory)?

When you install Apache, PHP's default folder is /var/www/ by default. Some developers find it necessary to change the root directory to something like: /home/public_html/ (many shared hosting ...
0
votes
1answer
103 views

How to select multiple directories in apache2.conf

I have the following file structure: /var/www /var/www/subdirectory I want to configure my apache2.conf with a directive that applies to both var/www and all it's subdirectories and files. <...
0
votes
1answer
259 views

Can't access server remotely

I've been running an Ubuntu Server for the past month to run my website. It's all be working fine, I had a few directory's for the different sites I was running and domains were pointed to them just ...
0
votes
1answer
6k views

Error in apache configuration

Initially my PHP was running well and after that when I installed perl CGI modules in order to run my CGI programs, there was problem. From the local host, I am not able to compile my PhP files nor ...
0
votes
1answer
735 views

Ubuntu 12.04, Php5-fpm, Apache2, Postfix: impossible to send a mail with PHP

Resources I followed I followed several howtos and questions on askubuntu: https://help.ubuntu.com/community/Postfix How to configure apache / php / postfix website emails when using vhosts? ...
0
votes
1answer
2k views

Timezone error in php.ini on lamp

I am trying to learn SOAP(Simple Object Access Protocol) following an example mentioned here downloaded the SOAP library , including the file lib/nusoap.php which gives a warning which is Warning: ...
0
votes
0answers
42 views

403 Virtual Host Error — ugh [duplicate]

I've followed every example of what to do in every question that's been asked about this issue here on ask ubuntu and yet, it still doesn't work (but what's strange is some sites now get 500 errors ...
2
votes
2answers
718 views

Horizon: Apache exceptions at import_module

I've deployed Openstack using juju, and everything looks normal except that I cannot browse to openstack-dashboard. I get error 500 Internal Server Error. I looked through apache2 logs at that node ...
2
votes
2answers
478 views

Wordpress alias problem

I have configuration like this: Alias /blog /usr/share/wordpress Alias /blog/wp-content /var/lib/wordpress/wp-content <Directory /usr/share/wordpress> Options FollowSymLinks ...
1
vote
1answer
2k views

Debugging PHP in Ubuntu (Xdebug)

PHP Vim Debugger: Configuring Apache I am trying to install Vdebug to debug PHP in Vim. Unfortunately, when I press F5 this message appears after a few seconds Waiting for a connection (Ctrl-C to ...
0
votes
1answer
119 views

Apache configure file: how to edit it

I need to edit the Apache configure file because I wish to set the debugger port in my VirtualHost section as it says below. How can I do it? I searched in Google but it is not clear for me what I ...
0
votes
2answers
5k views

how to setup an alias apache2

I am new to UBUNTU and try to use apache to check a website that I am currently developing using Joomla (novice to that too). I am trying to setup an alias in httpd.conf, but have not been successful....
0
votes
2answers
270 views

add X-Robots-Tag to apache config

I need to fix my server with the robots tags headers, X-Robots-Tag is there an easy way to add this in apache httpd.conf?
0
votes
1answer
227 views

Need To Rotate Logs From Virtual Hosts on Ubuntu VPS

I have a 1gb VPS running ubuntu that I have installed Apache, Mysql and PHP. I have 3 sites all in my home directory that are using name based virtual hosting. I have created three separate files ...
1
vote
1answer
371 views

What makes specific services (apache2, mysql) autostart?

Where can I set services apache2 and mysql to do not start automatically? Or start when asked for it instead? EDIT BootUp-Manager worked for me very well disabling autostart of both services.
0
votes
2answers
561 views

Is there a GUI for Apache, MySQL just like XAMPP for Windows?

I know how to install Apache, MySQL, PHP ..etc But I do not want Apache and MySQL to start at boot time. I also do not want to start them manually using the terminal. I am looking for a GUI program ...
1
vote
1answer
16k views

localhost 500 internal server

Yesterday localhost is still work, but this morning localhost is down with 500 internal server error. Internal Server Error The server encountered an internal error or misconfiguration and was ...
2
votes
1answer
702 views

How do I find userdir directives

Where do I find the userdir directives from apache2? They aren't in /etc/apache2/extra/httpd-userdir.conf.
0
votes
1answer
1k views

Run X11 GUI application from browser (apache - php)

The same way as Running Gui App with PHP, I need to run a X11 application (VLC) from a php page on Apache server. I need to open the VLC application on the server, not on the remote system. I'm ...
1
vote
0answers
374 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 ...
0
votes
2answers
695 views

How to upload or save on FTP to /www folder on Ubuntu 12.04 localhost? [duplicate]

I just start to use Ubuntu as OS and would like to ask what's the best practice to use apache and save my files on /www saving by programs or FTP. Thanks a million!
0
votes
1answer
2k views

where to add code for disabling OPTIONS method in apache

a web application security assessment recommends me to disable OPTIONS method on the webserver im running Apache/2.2.22(ubuntu) The solution i found so far was to add this certain code. ...
2
votes
1answer
82 views

how to manage ubuntu users from php

I have an Ubuntu 12.04 server machine in a local net, and I would like to log in my user through php. I have tried with pam_auth() but it wasn't configured neither activated for php. I tried a ...
4
votes
3answers
23k views

Setup localhost site in apache?

I've been searching for weeks on how to setup the localhost enviroment on ubuntu without any good solutions. This is what I want to achieve: I want to have My root folder as such /home/'username'/...