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)

1
vote
1answer
115 views

www links not working in apache

I have setup my apache virtualhosts like this below, https://sub.domain.com works But if I try https://www.sub.domain.com it doesnt work with the www. before the domain I assume this is serveralias?...
0
votes
1answer
700 views

Torrent box, Torrentwatch-x setup install help

I'm trying to set up a ubuntu "torrent box" , samba file sharing transmission remote torrentwatchX - and this is where I am stuck, - what I have done so far is sudo apt-get install php-...
0
votes
3answers
95 views

Apache2 restart does not work when I navigate to it's directory

This works: sudo /etc/init.d/apache2 restart It asks for my password, I enter it and apache restarts. Then I try this: cd /etc/init.d sudo apache2 restart Nope, it doesn't work. Apache displays ...
0
votes
0answers
46 views

Kill process on port 80 [duplicate]

Hi 'yall I tried running this command on my terminal to kill the tcp process so I can start my apache service. But it's seem there's some kind of mistakes. Here is the result and the command line I've ...
2
votes
1answer
9k views

Apache2 re-install error

I am trying to re-install apache2 on my Ubntu12.X machine. I had apache2 before but due some reasons I have uninstalled. I use apt-get purge to remove apache tomcat but while re installing I am ...
1
vote
1answer
440 views

IP redirection for apache in virtual hosts

Say I have two virtual hosts setup in apache. 1.domain.com points to var/www/1 2.domain.com points to var/www/2 What if someone enters the IP address of my server? Is there a way to make ...
1
vote
0answers
1k views

Apache: New files and folders does not get correct permissions

This is what i'm working whit. Ubuntu Server 13.10 /w Kubuntu Desktop 3.11.0-17-generic Apache/2.4.6 (Ubuntu) PHP 5.5.3-1ubuntu2.1 (cli) Module SuPHP Enabled My issues: I can install Joomla, and ...
0
votes
1answer
1k views

SSL Reverse proxy

How would I go about setting up a SSL reverse proxy using apache as the ssl reverse proxy and lighttpd as the web server? I want everyone to be forced to connect with ssl, so any http connections get ...
0
votes
1answer
494 views

Weird behaviour of PHP SOAP Webservice on Ubuntu and apache2

We got a SOAP Webservice written in PHP. We also got PHPUnit Tests for this Webservice. Till last week we used Xampp on Ubuntu 12.04.4. Using Xampp the Webservice worked fine. Then last week we ...
4
votes
2answers
30k views

How to enable mod_rewrite for virtual host

The mod_rewrite rule is not working on the virtual host. I have wanted this for cakephp. Is there setting to add in the virtual host file?
1
vote
2answers
66 views

Assining permission to www folder

Very new to Linux (Ubuntu). So getting lost each moment where this time I just installed Apache and trying to create file in www folder. But it is giving permission error. Now I don't even know how ...
8
votes
1answer
8k views

Correctly setup apache virtual hosts with multiple users

Thanks in advance for any help you may provide. I've self taught myself using linux (ubuntu), apache, virtual hosts and a few bits with regards to security, though I've yet to put these all together ...
7
votes
1answer
4k views

Mailman web interface not working

I'm configuring an ubuntu server 13.10 box for mailman use. I followed the howto on Ubuntu Help with no luck. Mailman works, running the newlist command creates the list and I'm able to get the ...
0
votes
2answers
301 views

I have a Mac OS X Server running a FQDN web site, with Ubuntu VBox running on top:

I want to have a subdomain point to another computer on my network (technically it's an Ubuntu VBox on same server, but with different IP.), but lets just say I started apache on another computer on ...
0
votes
2answers
979 views

Server crashed a few times due to lack of memory - how can I find out how much is available to each process? [duplicate]

We had a huge spike in traffic with lots of these errors: Feb 17 10:44:13 111488 kernel: [8275767.506198] Out of memory: Kill process 20577 (apache2) score 52 or sacrifice child Feb 17 11:02:06 ...
3
votes
2answers
24k views

mod_rewrite is enabled, but not working

I'm trying to get a PHP routing library set up. They give this example for a .htaccess file: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . ...
0
votes
1answer
1k views

How to create new project within Xampp?

I was wondering how you can create a new folder so when I type localhost/folder, it will read the files within the folder. I don't know where to find the folder to put it.
8
votes
2answers
9k views

Can't access apache error logs

My Ubuntu vitual server wen't offline. I rebooted it and now want to debug what happened. I can browse to /etc/log but if I try cd apache2 it says Permission denied. I'm sure my user account has ...
1
vote
2answers
66 views

Opening folder within a url

I am new to Ubuntu server, so learning as I go along. I have followed a tutorial for setting up Ubuntu server and everything for getting my server running with apache2 and ISPConfig. My main site ...
2
votes
2answers
36k views

Enabling .htaccess file to rewrite path (not working)

All the tutorials tell me to edit the: /etc/apache2/sites-available/default but this file doesn't exist for me. Within this file I would have to edit the: <Directory /var/www/> Options Indexes ...
3
votes
1answer
279 views

Ubuntu 12.04 Server - Default directory permissions

I am new to linux and I installed linux for web server purpose with apache2. I have created a new directory /var/www/mysite. My main problem is that each new file I create has read only permissions ...
1
vote
1answer
624 views

zentyal on ubuntu 13.10

I tried installing Zentyal on my ubuntu 13.10-serve using the ppa-method (as I don't want to reinstall the OS). At first, I added deb http://archive.zentyal.org/zentyal 3.3 main extra to my sources....
2
votes
0answers
1k views

error compiling suphp

Trying to install suphp, from source. But when I run: ./configure --prefix=/usr --sysconfdir=/etc --with-apache-user=www-data --with-setid-mode=paranoid make I get this error: Error: In file ...
0
votes
1answer
6k views

Installing phpmyadmin in another port

I have a VPS where i host different websites, not only in apache but other platforms like Ruby on Rails. To set this up, I use nginx as front-end webserver, as proxy. I have apache running in port ...
2
votes
1answer
70 views

How can I obtain the default configuration files of apache2?

I need to obtain the default configuration files of a fresh, vanilla apache2. Is there any way or place to obtain them? Any help is appreciated. Note: Other than the objective of this similar ...
1
vote
1answer
2k views

apache module compilation failure

I was following some tutorial in web about the apache module compilation. I have already installed apache2-threaded-dev. When I try to compile the example_code from apache website I get: /usr/share/...
0
votes
1answer
1k views

How do I setup SSL from a rapidssl on Apache2?

I recently purchase a SSL cert from rapidssl and I am trying to configure my server to use ssl. I have 3 websites on this server each with their own IP and I just want one to have SSL active. I ...
0
votes
1answer
286 views

HTML doesn't show php script on Uuntu 12.04 ( PHP5, Apache2, mysql) all are installed properly

But info.php in /var/www/ does show the info. Only PHP embedded in html doesn't show the script. please help me.. I have tried the previous askubuntu questions and didnot get anything useful so ...
1
vote
1answer
2k views

object not found in lampp ubuntu 13.10 [closed]

I am a newbie linux user. I have installed xampp 1.8.3-2(lampp) on Ubuntu 13.10 and configured it. I paste my www folder to Ubuntu 13.10 in /opt/lampp/htdocs. Now that the owner of www folder is ...
1
vote
1answer
58 views

Getting issue with file permissions in Ubuntu 10.04

I've a development desktop having Ubuntu 10.04, Apache2 & PHP 5.3.2 installed. I've given 0777 permissions to my web application root folder and Apache2 is also running under current username. But ...
1
vote
1answer
751 views

Can't start apache2 with error “bus error”

Does anyone know what cause my apache2 couldn't start properly in ubuntu? I ran /etc/init.d/apache2 start outputs * Starting web server apache2 /usr/sbin/apache2ctl: \ line 132: 29125 Bus ...
0
votes
2answers
10k views

Problems with the /var/www folder

I am new to Ubuntu, I've installed 12.04. I used to use wamp server on Windows, and after changing OS I moved some files from www folder to /var/www on Ubuntu. But when I try to view that folder in a ...
0
votes
1answer
9k views

How to enable .htaccess on ubuntu 13.10

I installed apache+mysql+php on my ubuntu 13.10. I want to use customized .htaccess file. But it is disabled by default on ubuntu system. There are some tutorials on how to enable it on ubuntu 12.04 ...
3
votes
2answers
2k views

One IP address, Two Websites, on Two Machines - Need details

This question has already been posted by another user but a detailed answer was not given.. Here is the link to the original question - One IP address, Two Websites, on Two Machines I have two ...
0
votes
1answer
2k views

How can I repair my PHP installation?

I try to test my php installation on a ubuntu server without gui. Therefore I follow the 3rd this howto for LAMP(!). This includes to install php5 et al. with sudo apt-get install php5 libapache2-mod-...
2
votes
1answer
2k views

How to get latest Wordpress on 12.04.4 LTS

I have a server running Ubuntu 12.04.4 x64 , and want to install latest wordpress. I have two options use apt-get to install the package (sudo apt-get install wordpress) install the latest version ...
1
vote
1answer
629 views

How to make PHP run on other folders?

I have a PHP project in /var/www/myproject I am wondering if I want to have my projects in /home/myusername/Projects/myproject and be able to run PHP on it, what should I do with Apache? What if I ...
4
votes
1answer
842 views

Web server atacks

I have a server (vps) to use as a repository and testing (gitlab and redmine) server. However apache crashed, seeing the /var/log/apache2/error.log have many errors of this type: [Fri Jan 31 16:07:...
0
votes
1answer
268 views

Problems with instalation of Zend-framework

When I type this command: apt-get install zend-framework I am getting this error: dpkg: error processing zend-framework (--configure): dependency problems - leaving unconfigured Errors were ...
2
votes
3answers
2k views

Where to find default/ test page for Apache2

I have a VPS running Ubuntu 13.10 and has an Apache2 website, and whenever I go to the VPS's IP http://5.231.37.8 ,I get the default/test page for Apache instead of my website located in /var/www. ...
0
votes
2answers
397 views

How may I restrict accesing apache using server IP address?

I have a server. I installed and configured Virtualmin/Webmin on it. Also I added three domains and configured almost 100% correct all DNS records. My big question is how I restrict accessing website ...
0
votes
1answer
462 views

Add existing user to Unity

Short story How can set Unity as desktop environment for an user created with Shell? Long story On a VM running Ubuntu 12.04 configured as LAMP, I need to use the desktop environment Unity for the ...
0
votes
1answer
66 views

Apache2 configuration and security

I have installed apache2 under ubuntu 12.04. First I read the differences about mpm worker and prefork. in my case it is in worker. In my apache2.conf I have : <IfModule mpm_worker_module> ...
1
vote
0answers
1k views

htaccess not working on ubuntu 12.04 tried everything

I have frusted doing all things given on web for htaccess get working on ubuntu. But I could not do it. Actually I want to run my CodeIgniter app on LAMP, its not production server. so in www ...
0
votes
1answer
33 views

Prevent listing hosted domain under IP

When I enter my public IP with one of my hosted domains, folders appear, such as public_html etc. It is ok, when I enter just www.domain.com, since I configured DocumentRoot directly to public_html. ...
5
votes
1answer
6k views

How to give a specific user access only to a specific folder and its contents?

I used adduser <name> and created a new user, andrew. Now I want to give him read/write access only to /var/www/sitename.com and its contents. How am I supposed to do this? I tried sudo ...
1
vote
1answer
595 views

Host purchased domain name in apache2 ubuntu server

I have been looking for a solution to this for months with no luck so here goes. I installed the Ubuntu server 13.04 (since upgraded to 13.10) on an old dell e510 and installed apache2. Also I ...
0
votes
1answer
442 views

Apache Tomcat cannot be started as a non-root user

I manually started Apache Tomcat 6 via the command $CATALINA_HOME/bin/startup.sh and this is the result - Using CATALINA_BASE: /home/getx/Desktop/apache-tomcat-6.0.37 Using CATALINA_HOME: /home/...
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 ...