Open-source HTTP server.

learn more… | top users | synonyms (1)

7
votes
3answers
41k views

Where can I change the webpage shown by apache?

I have ubuntu 10.10 installed, and when I hit my IP I see: It works! This is the default web page for this server. The web server software is running but no content has been added, yet. Where ...
7
votes
1answer
239 views

Is there a modern tutorial for setting up SSL on apache2?

I've been running apache2 for ages on my ubuntu server without SSL. Now that I want to have some directories delivered by SSL, I can't find any straightforward tutorials that were written recently. ...
4
votes
9answers
35k views

Unable to restart Apache, getting error: apache2: bad user name ${APACHE_RUN_USER}

I am getting this error trying to restart Apache, does anyone know how to fix this? Thanks,
0
votes
3answers
4k views

How do I make my webpage accessible from the internet?

Situation: I have Apache2 server with Linux Ubuntu OS 11.10. Then I install a PhP5, MyAdmin, DNS server, LAMP server, MY SQL server. This is what I have done: check localhost 127.0.0.1 and it ...
1
vote
1answer
999 views

How do I redirect my apache web app from an alias of one domain to a sub domain of another?

I have a web application on www.domain1.com where I have installed Apache2 and Tomcat7. I would like to make a redirect from www.domain2.com (which is a www.domain1.com alias) to ...
6
votes
2answers
6k views

Where can I find messages related to Apache start up?

Apache didn't start up automatically like it usually does. I'd like to try to find out why. It looks like it never started up today, so nothing in /var/log/apache2/error.log since it never ran. As I ...
2
votes
1answer
4k views

Restrict access to apache2 web root but allow it to subfolders

I need to restrict access by password to my web root apache test server (ie http://localhost) but allow access to subfolders (ie: http://localhost/testsite) I did create the .htpasswd and .htaccess, ...
1
vote
1answer
725 views

Facebook application apache setup

I'm trying to setup the dev environment for facebook apps and I was following official Hiroku guide for setting up everything for local development ...
-2
votes
1answer
13k views

How do I run Apache as root?

Ok I need to run my Apache web server as root. For this I typed echo whoami; in terminal. It gives me output: root. But when I check my apache server running as a root user or not by executing ...
0
votes
3answers
725 views

Why doesn't resolv.conf remember dns addresses?

I have installed dnsmasq and added nameserver 127.0.0.1 to the resolv.conf file so I can use wildcards in my apache configuration. But every time I restart the computer or change Wi-Fi connection I ...
3
votes
2answers
690 views

Mysql not working after apache2 reinstall?

Earlier I had a problem that had to do with .htacess files but I got that fixed but in the process I thought it would be good to re install Apache2. That fixed all web server problems, but when I ...
2
votes
2answers
962 views

Apache default website root folder

Is it safe to change the appache default website root folder to somewhere in user home? I wonder if it is okay to do. Because otherwise I have to save the default site by another name and then run ...
2
votes
1answer
28k views

how reinstall apache2? [duplicate]

Possible Duplicate: How can I replace missing configuration files after removing a package? I have a problem in my apache2: And i exec sudo aptitude purge apache2, but in /etc/ the folder ...
1
vote
0answers
577 views

Invalid command 'PerlLoadModule' in Apache2 [closed]

I installed a Redmine of ALMinium. git clone https://github.com/alminium/alminium.git cd alminium sudo bash ./smelt And the ALMinium was successfully installed. But while Apache2 is being started, ...
1
vote
1answer
7k views

PNP4Nagios error with Apache

I had a working setup with PNP4Nagios and Nagios. Everything was great. Friday, I installed NagiosQL. Since then, PNP4Nagios's web UI doesn't work anymore! I get this error when trying to access ...
1
vote
1answer
3k views

Apache - 403 Forbidden - changed dir for default in sites-available

I'm sorry if this is a repeated question, but i have tried all the possible solutions from the other answers... I just installed apache, php5, ..., the works I can access http://localhost and get ...
0
votes
0answers
83 views

Does installing Apache overwrite ALL (including mounts) www folders? [duplicate]

I have a old hard drive (with Ubuntu 32b) that was running my website. The site was located in /var/www/vhosts/debug.onlinelabtests.com I removed the hard drive, and dropped in a new one. Install ...
1
vote
1answer
174 views

Username is number?

I cannot work this out. If I'm logged in as root (using chroot - possibly) then all my actions (e.g. mkdir) are assigned to the user root. For my websites I need to associate files and directories ...
1
vote
1answer
551 views

Slow server on web-based writes and SSH login

I have an Ubuntu 10.04 server that's going a bit slow. It's very slow to log in via SSH, and it's very slow when making edits via a Mediawiki instance installed on there. For normal read access to ...
2
votes
1answer
344 views

How to make others access my computer via Internet?

I am running Ubuntu, and have installed Apache. When I input my IP address on a web browser, I see the following message: File browser: main.sh main.exe is a file which exists in /var/www/ in my ...
4
votes
6answers
13k views

Tomcat Manager Application and HTTP 404 Error

I am trying to set up the admin application for a Tomcat 6.0.24 instance. None of the searches I've done turn up anything I can use. I am using this configuration for Apache 2.2.14: Alias /manager ...
1
vote
2answers
4k views

permission denied in sites-available

I am new to ubuntu.I install LAMP pakage acording to this page. I want to create new website such as say in this article. but when I create my site in "sites-avalible" and whant to chanege it and ...
0
votes
0answers
116 views

unable to start XAMPP in ubuntu 11.04 [duplicate]

Possible Duplicate: Cannot start XAMPP When I try to start XAMPP with /opt/lampp/lampp start command it gives me a message like this. Starting XAMPP for Linux 1.7.7... XAMPP: Another web ...
1
vote
1answer
2k views

An easy way to switch from Apache to Nginx

I use nginx as DAV server and apache which hosts a frontend to backuppc. I'd like to make nginx host the frontend insead of apache. But I don't have a clue how to translate apache settings to nginx ...
0
votes
4answers
4k views

Cannot start XAMPP

When I try to start XAMPP with /opt/lampp/lampp start command it gives me a message like this. Starting XAMPP for Linux 1.7.7... XAMPP: Another web server daemon is already running. XAMPP: ...
2
votes
4answers
10k views

MAMP like tool for ubuntu

I am from mac os x background. To control my apache, mysql, and php, I used to use MAMP tool available for mac os x. On my ubuntu, I have installed all the required softwares but, I want a good UI ...
0
votes
1answer
498 views

stunnel changes https pages to http when clicking a link

I have stunnel4 installed on Ubuntu Server 11.10. I have apache installed from the repositories. I have some programs installed such as ownCloud or sitebar. When I visit their web pages over the ...
0
votes
1answer
4k views

Kerberos SSO with Apache - Partly works

Ok... I've got my Apache server running, and I have Kerberos configured to integrate with our primary domain controller (Windows 2003). When I try to access my page, however, I get a login ...
2
votes
3answers
1k views

What is the easiest, most effective backup system for Ubuntu Servers?

I'm trying to backup my /var/www/ folder, MySQL, and any other special documents like in the /etc/apache2/ folder. Does anyone have any solutions for backup software? Maybe something that's ...
2
votes
1answer
4k views

whats the difference between DocumentRoot and Directory

Plaese till me what is the difference between DocumentRoot and Directory in default file default file in apache2 has three blocks DocumentRoot /var/www in me server /sda1/htdocs <Directory ...
3
votes
2answers
6k views

How can I reinstall redmine?

I have a redmine setup. today morning I saw that my redmine folder was empty and I was unable to access redmine, so I tried installing redmine again using: sudo apt-get install redmine I am getting ...
2
votes
2answers
4k views

How do I remove apache installed with make install and use apache from the repositories?

I want to completely remove apache from Ubuntu 11.10. I have installed httpd-2.2.22 package through make and the make install command. Now I want to uninstall it and install through apt-get. Can ...
1
vote
1answer
4k views

Optimal owner / permission settings for a website directory running on apache

I am running Ubuntu on my vserver and I have set up quite a few settings concerning my topic. But I am not really sure if it is set up correctly. My current setup is the following: Apache2: export ...
0
votes
1answer
211 views

Apache remembers .htaccess induced redirect command

I wanted to redirect localhost/~mu/ to localhost/~mu/branches_index/ and created a .htaccess file with a Redirect /~mu/ /~mu/branches_index/. That did not work out as expected since it changed every ...
0
votes
1answer
121 views

Can I run Apache2 as my user on my Ubuntu for development purposes? [duplicate]

Possible Duplicate: Whats the simplest way to edit and add files to “/var/www”? Should I as a developer use var/www in conjuction with apache? I've gone and re-installed ...
2
votes
1answer
3k views

Apache Virtualhost keeps pointing to default directory

I have been trying to set an Apache name based Virtual host(http://test.local) to the directory /var/www/test, but it keps on pointing to the default /var/www directory. My test.local configuration ...
0
votes
1answer
901 views

AppArmor reinstall fails

I use apparmor together with libapache2-mod-apparmor to sandbox some websites. However After a recent reinstall it stopped working. I keep getting this error: Setting up apparmor ...
0
votes
1answer
600 views

When I am trying to install Apache Apollo on ubuntu, it is giving command not found error

When I am trying to install Apache Apollo on Ubuntu, it is not getting installed. It is showing apollo: command not found Permissions to the apollo file are 777. JAVA_HOME is also properly ...
1
vote
1answer
548 views

Apache and mod_mono - only serves HTML files

I have tried to set up an Ubuntu server running Apache/mod_mono in a VirtualBox VM, and have encountered a problem when trying to configure Apache to use mod_mono to serve the ASP.NET application. I ...
2
votes
2answers
368 views

Should I use use .htaccess to secure Wordpress, or can I use the virtual host config file?

I`m using apache2 on ubuntu 11. I want to secure my wordpress site with .htaccess rules, but I understand that it is preferable to put the rules in the apache config file (httpd.conf). If I ...
16
votes
5answers
27k views

How to make Apache run as current user

I think for a development machine, its more convenient to run Apache as the current user to simplify permissions problem? How do I do that? I think its suexec but how do I configure it in ...
1
vote
1answer
433 views

vsftp user created files cannot be read by apache2

I have a Ubuntu 11.10 server setup with rackspace. Pretty basic setup LAMP, vsftp. Create a new user for vsftp that can create files on the server perfectly fine. But the files seem to be ...
0
votes
1answer
7k views

Unable to load web pages from local Apache server running Ubuntu 11.10

I have been working on getting the newest version of Ubuntu loaded on a netbook. I was able to download the utility to get the ubuntu image on a flash drive and managed to install it. However, I am ...
0
votes
2answers
3k views

How do I install Apache and PHP on 11.10? [duplicate]

Possible Duplicate: What's the easiest way to set up a LAMP stack? I would like to install Apache and PHP on my new machine, running Ubuntu 11.10, but I can't see either of them listed ...
0
votes
1answer
89 views

Update .htaccess file to restrict some pages

My .htaccess file from my root web server is: RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)\?*$ index.php/$1 [L,QSA] When ...
2
votes
3answers
11k views

Portforwarding from host to guest using port 80, but it doesn't work

I installed ubuntu server inside a virtual box(11.04), then i configured apache. Inside virtual box setting, i made a port forwarding from port 80(host) to 80(guest), i open my web browser on my ...
4
votes
1answer
2k views

How do I compile mod_deflate?

I want to enable compression in apache. For the same I am trying to use deflate module of apache. I have already installed apache 2. But it is a default installation and in that mod_deflate is not ...
0
votes
1answer
536 views

Virtualhost Serveralias does not display pictures

I added a virtual host to apache2 on my new Ubuntu 11.10 serverbox. Works fine for all the websites called by the plain domainname. But adding a serveralias like 'ServerAlias mydomain.com ...
1
vote
1answer
7k views

How do I install and run Apache2?

I have downloaded apache2 from the official site and compiled and installed it per the given instructions there, but on running I get an error: ulimit: 88: error setting limit (Operation not ...
2
votes
2answers
1k views

How to recreate apache configuration directory?

I was setting an apache instance up. And accidentally, I did rm -rf /etc/apache2. Now I don't have any configurations. Oh. I sudo apt-get install apache2 --reinstall, but didn't' work :( How can I ...