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
2k views

Apache2 server failed to start after enabling `mod_rewrite`, returns “Operation Not Permitted” errors

I am trying to install cakephp ( a php framework) which requires to enable mod_rewrite. For this I followed Enable mod_rewrite answer. But after restarting my server It says: nitish@nitish-G31T-M7:~$ ...
-1
votes
1answer
125 views

opening var/www with windows from ubuntu server

I have apache2 installed on a ubuntu12.04 workstation and in the var/www folder is an index.html. Now I am connected with a win7 workstation via hotspot to ubuntu. I can ping from one to the other and ...
2
votes
1answer
2k views

Detect intrusion with Apache log (IDS)

I have an apache log. is there ane IDS (Intrusion Detecting System) to detect Intrusions in my server ? I just have an apache log
0
votes
1answer
907 views

Phpmyadmin configration

I am using Ubuntu 13.04 version and I install LAMP server , php and MYSql. Install PhpmyAdmin sudo apt-get install phpmyadmin I insert line in /etc/apache2/apache2.conf by using: sudo gedit ...
2
votes
0answers
359 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 ...
0
votes
1answer
491 views

How do I enable CGI execution in the root directory of Apache

I have built an Ubuntu server and need to execute CGI scripts in the root directory. I keep finding tutorials on how to execute them from cgi-bin but that isn't desired in my situation. I've installed ...
0
votes
1answer
107 views

Backup Ubuntu + Apache + Postfix (no bash)

My company has 10 laptops and a server with Ubuntu onboard. There are also Apache and Postfix on it. I'm totally new to Ubuntu (I have never used it and I believe I have no need to try it). But for ...
1
vote
0answers
198 views

Apache2 Setting Up Multiple Domains

So I've looked and google for a few hours on setting up multiple domains, and I'm about to give up. Here's my latest attempt: ports.conf: # If you just change the port or add more ports here, you ...
-1
votes
1answer
29 views

How to setup domain on my home webserver?

I have installed webserver apache and I am running the site perfectly with IP.Now I want to get a free domain like .th,.co.vu or similar but I don't. Know how to setup it.My site is new so some free ...
0
votes
1answer
507 views

Giving www-data access to files with 750 permissions

I have a situation where I want to prevent users of the system to browse each other's home dirs. So all home dirs have 750 permissions, instead of 755. Some users have www folders where they host ...
1
vote
1answer
14k views

Yum install fails on Ubuntu EC2 instance

I'm using Ubuntu 12.04.3 on an AWS EC2 instance. This is my first time with an EC2 so it's all new to me. I'm also not the most experienced Linux guy either, so I apologize if this is a stupid ...
0
votes
1answer
138 views

Virtual Hosts on Ubuntu Server 12.04 Not Working

I know this has been asked a thousand times, and I have went through just about every solution, and I still can not get this to work. I'm trying to be able to get to example.com both internally and ...
1
vote
1answer
2k views

Apache can't listen/bind to any port other than 80?

Pre Reqs/Useful: (This is a web/dedicated server) Distributor ID: Ubuntu Description: Ubuntu 13.04 Release: 13.04 Codename: raring Hardware: ProLiant DL160G5p Pastes: Apache vhost ...
1
vote
0answers
500 views

Apache 404 Permission Denied but Why?

I have been fighting an apache server for 2 days, trying to figure out why this thing keeps denying access to the server. Check out the settings: <VirtualHost 192.168.15.4:80> DocumentRoot ...
0
votes
2answers
423 views

Permissions for an apache2 virtual host

I'm usuing Ubuntu 12.04LTS and have created an apache virtual host in my local file system for a site I'm developing. However, when apache tries to access the site, it can't because the ownerships ...
0
votes
1answer
2k views

13.10 Virtual Hosts file doesn't work

I already know of the main .conf problem with Ubuntu 13.10 and the change to Apache 2.4 for the suffix to site-available files. My problem is that when I enable "a2ensite xxxx" for "xxx.conf" in ...
0
votes
1answer
255 views

How do I install the Jetspeed Maven plugin if .m2 file is read-only?

I am currently trying to go through the Jetspeed portal tutorial. However, once I made it to the "Configure Maven Build" section, I ran into a problem. The tutorial asks that in order to setup the ...
0
votes
1answer
127 views

No access to phpmyadmin

I can't access phpmyadmin. I get this classic forbidden error: You don't have permission to access /phpmyadmin on this server. I installed phpmyadmin via apt-get. I choosed apache2 in the installation ...
1
vote
0answers
840 views

Python CGI cannot execute in Ubuntu 13.10

Today I just updated my ubuntu from 12.04 to 13.10 . And then some thing happened really bad. I cannot execute Python CGI in ubuntu 13.10 apache 2.4 even through I already config everything in ...
3
votes
1answer
212 views

How do I get my files from my Windows machine to my Ubuntu web server for development?

My Win8 machine has Dreamweaver etc. installed. This devices is mainly used for development. Instead of saving the files to a shared, hosted server I wanted to save and test them locally first and ...
0
votes
1answer
3k views

install php 5.3 in ubuntu 13.10?

My problem is I have scripts online that work in php 5.3 not more recent versions. I wish to develop web sites locally instead of uploading partial changes. After much reading, I made the following ...
1
vote
1answer
16k views

How to redirect apache /var/www to the home directory and access all the directories and files in my home directory?

I have installed Apache(LAMP) web server on my ubuntu machine and I want to do the above mentioned thing.I have tried creating symbolic links in the /var/www directory but it only shows files but not ...
0
votes
1answer
230 views

./opt/lampp folder & file editing help

I installed XAMPP but I need to edit folders and files in there. I did the following groupadd lampp usermod -a -G lampp kyle chown -R root:www-pub /var/www chmod 2775 /opt/lampp find /var/www -type ...
25
votes
2answers
49k views

htpasswd executable is missing

I'm running 13.10. Clean install. Ran: sudo apt-get install apache2 I would expect that I would have htpasswd in the /usr/sbin directory along with the apache2 executable. I don't. I can ...
1
vote
1answer
59 views

Packages for web development

Could somebody tell me what packages do I need to download to have an Apache server on my PC and to be able to use Php, JQuery, javaScript and mysql? Thanks in advance!
23
votes
3answers
95k views

How to configure Apache to run PHP as FastCGI on Ubuntu 12.04 via terminal?

I'm relatively new to the world of unix command line web server management/administration. Many hosts with control panel administration options allow you to change how PHP is run with a simple ...
0
votes
1answer
802 views

Apache timeout, OK on localhost

I have been staring at this for 2 hours now and can't figure it out. My webserver was running fine until earlier today. But now it can't be accessed from the Internet. The server is apache2, but ...
56
votes
5answers
29k views

How to easily start a webserver in any folder?

I'm looking for a relatively painless way to launch a web server with document root in any folder I specify (or better yet, where I'm launching). I often try out new things like JS frameworks or so ...
0
votes
1answer
3k views

cannot access ‘xampp-linux-x64-1.8.3-1-installer.run’: No such file or directory

I am a complete novice with Linux Ubuntu. When installing xampp it occurs to me this message: Can not access 'xampp-linux-x64-1.8.3-1-installer.run': No such file or directory I followed these ...
2
votes
1answer
6k views

403 forbidden error for all local projects after updating php and apache

I have 5 web app projects in my local machine with Ubuntu 12.04 installed on it. Everything was good, but today when I started a new project with symphony, I found that I should upgrade php to 5.4.x, ...
1
vote
1answer
3k views

How to disable the default apache server [duplicate]

I recently installed lampp and apache is unable to start because there is another web server already running. How do I disable whatever default server might be running in Ubuntu 12.04?
0
votes
1answer
95 views

System boots in console + login loop (wrong root and home filesystem permissions)

I messed up my system while trying to fix permission problems for setting up a LAMP local server. I tried this solution: How to avoid using sudo when working in /var/www? without success. Then I saw ...
0
votes
1answer
240 views

apache2 wont display a folder - while another folder works…confused

I am on Ubuntu 13.10 PHP5 and am an intermediate PHP developer Exact same file (1.php) in 2 diff folders - one works and the other doesnt... http://localhost/vetpro2/1.php The above works as ...
0
votes
1answer
3k views

phpmyadmin not working because i changed permissions and don't know how to change it back

I installed LAMPP and it worked fine, but i somehow managed to change the permission of the folder /opt/lampp/ to 777 by using this command sudo chmod 777 -f /opt/lampp -R My plans was to do: ...
0
votes
2answers
3k views

ubuntu 13.10 ftp Connection attempt failed with "ECONNREFUSED - Connection refused by server

i have done a little google searching on this one, but im not really finding a solution that is helping. I have unbuntu 13.10 LAMP (64bit) installed on VM-VirtualBox running on Windows 7x64. After ...
0
votes
1answer
157 views

Apache Virtual Host setup not working?

I had follow this link to setup my first virtual host with apache2 under Ubuntu 12.x. Looks easy but is not working. [How to][1] My internal DNS can resolve the name, but my browsers is not showing ...
0
votes
1answer
99 views

What is the `ServerName` attribute for apache2 and what does it do?

I do not know what this config setting means. Does it mean that it registers a domain name? Is it like DNS? Here is what I have for my apache2 default config ServerName staugie.org ...
0
votes
1answer
54 views

How to repair log files

Accidentally I delete /var/log folder My question is now can I recreate that folder again (and to work) I have some issues on apache, and I can't see any logs because the /var/log folder don't exist ...
0
votes
1answer
3k views

Apahce Website - Uploading files and download

I just recently made an Apache Webserver for uploading my files. The website ip is 173.65.17.127. I'd like to upload files and be able to download them remotely, I got MySQL, Apache, and PHP aswell as ...
1
vote
2answers
91 views

forbidden folder name in apache?

I have a little web server I run to help me at work. In an effort to neaten up the internal bits, I made a folder named "doc" for documents. When i try to navigate to that folder I get You don't have ...
0
votes
1answer
291 views

Wordpress permissions problem on apache2 server

I have a windows 7 system. On this system i am running a VM Virtual box LAMP Server with Ubuntu 12.04,apache2, mysql and phpmyadmin... which is accessable via the internet. I installed Wordpress ...
0
votes
1answer
178 views

Changed apache www folder

So I changed it from /var/www to /home/John/Dropbox/www and I also did chmod 755 /home/John/Dropbox/www but it still says You don't have permission to access / on this server. I forgot how to do ...
2
votes
5answers
17k views

Can't install Apache 2.2.22 on Ubuntu 13.10

My work environment requires Apache 2.2.22 instead of the latest version of 2.4. My machine is currently running Ubuntu 13.10. When I use Synaptic or apt-get it will not allow me to choose an older ...
2
votes
2answers
75 views

why the apache2 has multiply pid?

This is the command ps -A |grep -i apache2 output: xxxx@debian:~$ ps -A |grep -i apache2 2362 ? 00:00:01 apache2 2365 ? 00:00:00 apache2 2367 ? 00:00:00 apache2 2369 ? ...
2
votes
2answers
715 views

LAMP Server with multiple PHP Versions

I am looking for a way to install multiple versions of PHP on my notebook to work on different projects that require different versions of PHP. I have Ubuntu 13.10 and installed apache2, php5, mysql ...
2
votes
3answers
446 views

Are Apache, PHP and MySQL installed by default?

Are the Apache server, PHP, and MySQL installed by default when you install Ubuntu 13.10, or should you install them separately later?
0
votes
1answer
897 views

Can't Install php5-msql

Hello friends I'm finishing the process of installing Apache/Php/mysql installations but this shows up: # sudo apt-get install mysql-server php5-msql Reading package lists... Done Building ...
3
votes
1answer
3k views

Ubuntu 12.04: cannot install apache2-common

I've just upgraded to 12.04 from 10.04, and upgraded apache2. I ran into the following: While trying to install passenger, it complained that apache2-prefork-dev was missing. sudo apt-get install ...
1
vote
1answer
3k views

Weird Apache ssl_error_rx_record_too_long error

I bought a wildcard SSL cert from AlphaSSL but after installing it Firefox gives me ssl_error_rx_record_too_long error when visiting the site. I'm tearing my hair out I just trying to get this ...
0
votes
1answer
44 views

Help connecting a domain and my server

I have a ubuntu server and also I have a domain when I run the serve in LAN (Local Area Network) it works perfectly, but over WAN it cant connect to the server. I have deactivate the firewall from the ...