2
votes
1answer
37 views

Serving webpages with Apache on Ubuntu server

I've set up an old machine running Ubuntu server 13.1. I can access it remotely with webmin and I was able to install apache that way. What I would like to be able to do is to put web pages and be ...
0
votes
0answers
148 views

How to configure Alias in Apache 2.4?

I need to config a Alias in Apache 2.4 and work how phpmyadmin works in my Ubuntu AWS server. I created a site-enable file and add the following lines for it Alias /admin1/ "/var/www/html/admin" ...
1
vote
0answers
44 views

Ubuntu 12.04 apache2 site shows index of instead of actual site on redmine

I have an Ubuntu 12.04 server that has a successful redmine install on it. I have been using redmine on it for a while, but when I tried to set up the SSL cert using this method, ...
1
vote
1answer
139 views

index.html is not working in apache document root

I have got Ubuntu 12.04. I have a file index.html in apache'd document root but apache lists all the files when I access the document root from the browser. It works fine if I replace index.html by ...
0
votes
1answer
296 views

multiple ftp user sharing common home directory

I want to setup like mentioned, where I can create multiple ftp users with having same home directory. What I have tried so far, Created new user with pointing to the directory of ftp user as home, ...
1
vote
0answers
51 views

Apache2 virtual hosts with mod_wsgi settings question

I'm running a VPS on DigitalOcean (Ubuntu 12.04). I'm using a single instance to run multiple (currently 2) websites. Originally I had one website (say, flaskwebsite.com) which uses flask and ...
1
vote
1answer
82 views

How would I run Django and LAMP on different subdomains, but on the same Apache server?

I am currently working on a development project where I need to run four different PHP programs (both with MySQL backends) and one Django project. Current Plan: XenForo (forums.domain.com) [PHP ...
0
votes
1answer
60 views

Unidentified network connections

I have an external-facing ftp/webserver (with virtual hosts) running Ubuntu 12.04LTS, and I have some concerns about some network traffic I'm seeing. Some background. I tried to be as preventive in ...
3
votes
2answers
276 views

Apache Server on different disk partitions

I have an Apache server installed with Debian. Later, I partitioned my hard drive and installed Ubuntu on the new partition. Afterwards, I realized I could not access my Apache server while booted ...
1
vote
1answer
148 views

Web server seems to keep serving old images, issue with Apache & VirtualBox?

I'm asking this here because I'm pretty sure it's a Linux issue. I'm running Apache server locally on Ubuntu Server 12.10, which runs inside a virtual machine (VirtualBox) on Windows 7. The "www" ...
1
vote
0answers
64 views

Why is Apache not respecting aliased directories?

In ssl_default.conf where Apache serves as an SSL-adding proxy for Django Gunicorn, I have: ... Alias /admin/static/ "/usr/lib/python2.7/dist-packages/django/contrib/admin/static/" ...
1
vote
0answers
45 views

prefork doesn't appear to be listening to MaxClients in config file

Apologies in advance if this is a stupid question, I'm new to all of this! I have prefork installed on a ubuntu server which I confirmed by running aptitude search apache2-mpm- Which gave me p ...
1
vote
0answers
81 views

Mail server broken my LAMP installation

I was installing mail server, postfix/sendmail I suppose. Then I had no need to use it anymore so I removed it. But now when I type localhost in my browser it redirects me to https://mail.example.com. ...
1
vote
2answers
3k views

Apache Virtual Host pointing to wrong DocumentRoot

I operate a VPS on Digital Ocean running Ubuntu 12.04.3, with virtual hosts. I was able to set things up following this tutorial here: ...
3
votes
2answers
916 views

Apache ownership and permissions for wordpress

I'm new to running a VPS, but I managed to get the whole system setup and secured without any issues :) My question concerns Apache and the different ways it can operate. For this particular machine ...
3
votes
1answer
2k views

How can I get Apache working (complains about logfiles) on Ubuntu after a distribution upgrade?

I upgraded from Raring to Saucy, and it says it can't open listening sockets: root@ip-10-250-42-219:/etc/apache2/sites-enabled# apache2ctl restart [Tue Oct 22 13:34:05.187996 2013] [core:warn] [pid ...
1
vote
3answers
239 views

Make web project writable by apache and other user

I am running ubuntu 12.04 LTS . To be able to view my web project in the browser I did the following: chown -R www-data:www-data /var/www/project Now I wanted to open the project in netbeans but it ...
1
vote
1answer
381 views

Binding a particular IP to a port in apache2

In How to set-up a online SVN server on my laptop I asked to give access to my SVN server installed on my laptop to some of my friends siting in another part of country.I set-up a SVN server.I was ...
2
votes
1answer
324 views

How to set-up a online SVN server on my laptop

I had created a local SVN server on my laptop running Ubuntu 12.04 and its working perfectly fine. Now I want to make my laptop as server for some valid users who can access my SVN server though ...
1
vote
1answer
241 views

LAMP Server setup for personal development

I am setting up a LAMP server in VirtualBox for personal development. This will be an Ubuntu Server 12.04 install, and I will be using Virtual Hosts for Drupal, Yii, and other small PHP apps. Ideally ...
2
votes
2answers
464 views

Ubuntu Bash - Changing permissions to user files for automating Apache VirtualHost creation

Moved here from AskUbuntu I currently have a small Ubuntu Server 12.04 machine (test environment) with about 3 non-root users created. Each user has their own public_html directory under their ...
1
vote
1answer
939 views

Use server name instead of IP address

Installed apache 2 in my Ubuntu server and I use many web application like osc, glpi. To browse these applications I have to write @ip/glpi in browser. my purpose is to use servername instead of ip ...
1
vote
2answers
836 views

Ubuntu: can't find ndbm.h

I need to compile an old apache version, 1.3 and compilation process fails because: mod_auth_dbm.c:77:18: fatal error: ndbm.h: File or directory not found where is it?
1
vote
0answers
202 views

Run Apache2 as root

I am teaching a security class and I would like to show them how it is very stupid to run apache as root (that means I don't need to be preached to about how stupid it is; I agree with you) I'm having ...
1
vote
3answers
1k views

Can only access my webserver from my computer?

I am learning Apache2, and I just attempted to make my local web server live to the internet. When I type my IP 86.207.14.136 on the browser's address bar and access it, I see the index.html stored ...
0
votes
1answer
52 views

Apache2 configuration issue?

Why is it that when I write the directive Alias /hello /myfile.php it works fine, but if I write Alias /hello /myfile.php?myvar=test apache gives me 'NOT FOUND'.
2
votes
4answers
215 views

Executing programs without having to specify a directory?

Why is it that I have to type /etc/init.d/apache2 (args) in order to run apache?? Isn't there a way to just apache2 args ??
1
vote
0answers
183 views

Apache configuration wont update

I have just installed this server with Ubuntu server 12.10 and then installed Apache2, however now when I run service apache2 reload or service apache2 restart it claims to have suceeded in updating ...
6
votes
3answers
3k views

A Web ssh/telnet client

I'm in kind of a tight spot right now. I wanted to know if someone has seen a HTML, or PHP web ssh client as both my company and school block everything besides port 80. I'm a control freak when it ...
1
vote
3answers
8k views

Apache 403 Forbidden on sub folders?

I can view all files in the root directory (/var/www) but as soon as i enter a sub directory (eg /var/www/test) i get a 403 Forbidden error. I'm running Ubuntu 12.04.01. Have tried searching for ...
2
votes
2answers
437 views

Monitor bandwidth usage from different virtual hosts

I've got a VPS running Ubuntu and Apache and hosting several sites on it using virtual hosts. It would be very interesting to monitor which of these sites takes the most power and bandwidth, I've been ...
1
vote
1answer
590 views

Permisions overwritten when files are transfered via FTP. What to do?

Got my web server up and running using apache2 with the ability to ftp to /var/www folder. However, if I make an update to .html and copied over the file via ftp, the file's permisions become more ...
3
votes
1answer
435 views

Can /mnt/hgfs/'shared folder' be used as apache root?

I have an Ubuntu Server (12.04) running on my development machine. It is in a VM. I have succeeded with the task of setting up Apache2, MySQL, and PHP. I can access the server from my host browser ...
1
vote
1answer
491 views

How does apache determine what directory to show from public_html?

I am using Ubuntu 12.04 and have configured apache to serve from ~/public_html. I am trying to serve some directory contents over http on LAN. When I did the following: ln -s ...
0
votes
1answer
337 views

SSH, FTP, HTTP stopped working

I'm facing a problem with a Linux webserver of mine. It's a VM Ubuntu 10.4 LTS which runs a Wordpress network site. Out of the blue with no changes being made on the back end, ftp has stopped as has ...
1
vote
1answer
2k views

Ubuntu Server - Access webserver from other LAN computer, setting up SSH or FTP, closing ports?

I'm running Ubuntu 11.10 x64 Server, with apache2 installed. The setup is pretty much default configuration. I have a few questions about; DocumentRoot/Static IP/Connect from LAN/SSH or ...
2
votes
1answer
2k views

Port Mirroring using iptables - copy all traffic among nginx on :80 and apache on :8080

I have nginx running on port 80 and apache running on port 8080 I want to transfer all the traffic to both nginx and apache asynchronously i.e the performance of one server wont be dependent on the ...
0
votes
2answers
390 views

suphp directory not owned by user

I have an odd problem with suphp. I have logged in as tom and added some php to a directory in my web server. Now I'm getting this error: Directory /home/.../web/public_html is not owned by tom I ...
2
votes
1answer
332 views

How can I monitor the load of a php script on a server?

We've got a website on our dedicated server which seems to be causing problems. Recently it has been crashing our dedicated server - it's very annoying. It will crash at random times. The tech ...
3
votes
1answer
368 views

Creating a local in-house testing web server

What we are trying to achieve is to have an in house Linux-based (probably Ubuntu) web server which we can test on before pushing to our remote dedicated hosting server. The problem we are going to ...
3
votes
3answers
4k views

How to configure permissions to allow gedit, apache, and an IDE play together?

I'm using plain Ubuntu Desktop 11.04 and installed my lamp stack using lamp-server. I am trying to use Netbeans as my IDE. Currently, all virtual hosts are being run from /var/www/vhostname -- but as ...
2
votes
2answers
2k views

Run Ubuntu 10.04 LTS with Apache2 SSL with passphrase

I am setting up a Virtual Machine with Ubuntu 10.04 Lucid Lynx Server. I have been reading the section on setting up Apache with an SSL certificate within the book : "Beginning Ubuntu LTS Server ...