Open-source HTTP server.

learn more… | top users | synonyms (1)

3
votes
1answer
184 views

Can anyone recommend Apache2 indicator for gnome panel

I just re-install my Ubuntu and forgot name of Apache2 service indicator, it's a green button at start and red at stop..
4
votes
1answer
9k views

How do I make apache run a cgi instead of showing the text?

I'm trying to install bugzilla 4 on ubuntu 11.04 I've added the following to my httpd.conf <Directory “/var/www/dev.spincentre/bugzilla”> AddHandler cgi-script .cgi Options +Indexes ...
0
votes
2answers
1k views

Having problems getting LAMP installed

Okay, this is like my fifth time trying to get LAMP set up on Ubuntu, and yes, that includes using XAMPP. (All I want to do is practice my PHP so I can write WordPress plugins! sob Why does the ...
0
votes
2answers
1k views

localhost .htaccess not working?

Now i install WordPress then BuddyPress, after the install buddypress i run the site, home page was run, when click the other page link the page was not working. show this error Not Found The ...
3
votes
1answer
1k views

Give apache permission to write to /home/*/www/ directories

LAMP server newbie here: I have a web server (on a VPS that I have full root access to), in which I'm setting up a few users with websites for. I have apache2 and php set up, and I have manually ...
4
votes
1answer
221 views

Why does my Apache folder show two configuration files?

When I cd to /etc/apache2/ I can see two configuration files: apache2.conf and httpd.conf. The apache.conf file has many configuration directives within (that makes me think it's the main ...
13
votes
5answers
24k views

Custom Apache 404 page

I want to customise the 404 page of my Apache Webserver on Ubuntu to something other than the general: Not Found The requested URL /***** was not found on this server. ...
2
votes
1answer
672 views

How to set up virtual hosts for sites in each user's directory

Hi I am looking to set up virtual hosts and I would like to put the files in each user's directory so I have each user and his sites held separately. So for example john would have in ...
0
votes
1answer
5k views

How do I set up a local domain name in Apache and Ubuntu, eg website.sam?

I would like to map my directories/subdomains in the following way: /home/sam/sites/* to http://*.sam I don't want to have to add a line to my hosts file every time I spool up a new site. I'm a ...
0
votes
1answer
1k views

.php files are downloaded instead of being parsed by Apache

I have Xampp on Ubuntu 11.04. .php files are downloaded instead of parsed by Apache! How do I get Apache to parse them?
2
votes
4answers
5k views

VHOST not working in Apache

I got a LAMP server working in Ubuntu 11.04. Now the problem is that the websites have to enabled and disabled from the terminal. All all of them have to be accessed from http://localhost which is not ...
2
votes
1answer
80 views

Addressing disk partitions [closed]

How do I properly address disk partitions Server 11.04 and Apache2 I have not found any information (must be looking in the wrong places) from the terminal window. Example: say define a directory ...
67
votes
8answers
111k views

How can I access Apache (on VirtualBox guest) from host?

I installed Apache on an Ubuntu VM. When I go into the guest and load up Firefox I can see that Apache is working fine when I browse to localhost. I would like to access this same page through the ...
3
votes
1answer
3k views

Apache and SSL Issues

I have my server set up to use SSL in a separate VirtualHost, but when I attempt to use https://my.domain, I get a connection refused error. The following is my config I'm using: <VirtualHost ...
8
votes
2answers
5k views

How to setup a Virtual host for local development

Ubuntu 11.04 installed with apache2 and all the relevant packages installed. I have tried most of the blogs and made google and other forums my best friends, yet I'm unable to solve this issue. I ...
3
votes
1answer
480 views

How to forward ports on the same Ubuntu machine? I want my webserver be available on 80 and 8880 port

How do I forward ports on the same Ubuntu machine? I want my webserver be available on 80 and 8880 port. Or maybe I could making my apache listening not only on 80 port, but also on 8880? Is that ...
4
votes
1answer
1k views

Set OOM killer adjustment for process on startup?

Is there a way to set the OOM killer adjustment value right when a daemon process (Apache in my case) starts? I would like to give the Apache processes a higher likelihood of being killed and make it ...
4
votes
2answers
336 views

Have lampp use PHP code in a directory not under /opt/lampp

I have my lampp installed in the default /opt/lampp directory and the PHP code is in the htdocs folder. Now, to edit any of the files I have to use sudo permissions and have to type my password (or ...
22
votes
5answers
28k views

How to have two version of PHP installed and switch easily?

I want to have both PHP 5.2.17 and PHP 5.3.5 installed on my Ubuntu machine and switch as per my necessity. How can I achieve this?
0
votes
1answer
463 views

apache2 is making my amazon ec2 unavailable, any ideas?

I have a web server running on a EC2 c1.medium intance. The instance is running on ubuntu, with apache2 and mysql.The ubuntu and apache version are the next; Ubuntu DISTRIB_ID=Ubuntu ...
0
votes
1answer
2k views

$_SERVER['PHP_AUTH_DIGEST'] empty with mod_auth_digest enabled

The output from sudo apachectl -t -D DUMP_MODULES Loaded Modules: core_module (static) log_config_module (static) logio_module (static) mpm_prefork_module (static) http_module (static) ...
2
votes
1answer
2k views

ErrorDocument 500 not working

I am testing a risk-free PHP application. So I have a file where I omit a ; to cause a 500 error. But the page I specified in ErrorDocument 500 is not called! It works with 404 though. My ...
6
votes
1answer
7k views

how to set up a ubuntu server to be (securely) available from internet?

(apologize in advance, I'm a pro-windows newly converted to ubuntu... if my questions are obvious, please tell me). I want to build a ubuntu server continuously connected to the internet. I own only ...
90
votes
2answers
167k views

How to enable mod_rewrite in Apache?

I just installed the LAMP stack on my Ubuntu system. The redirection is not working for me. I don't know how to fix it. Can anyone help me?
0
votes
1answer
2k views

Apache 2 Module configuration error

I'm trying to install SML Server in my machine. After following all the instructions (located here and at this book at 2.2 chapter) I try to configure Apache by adding a new module like this: A new ...
3
votes
1answer
3k views

How do I troubleshoot a local webserver?

I had a webserver running at luna.local, it got eaten when I upgraded to 10.10. In trying to restore it, I'm pretty stumped. I'm more stumped by this: [0 amanda@luna ~]$ apache2 -D DUMP_VHOSTS ...
0
votes
1answer
665 views

Apache2 silently does not start with mod_ssl enabled after upgrade to 10.04

We've just upgraded a machine from 8.04 to 10.04 (yes, long over due) but since the upgrade apache2 will not start. Nothing shows in the error logs, not in apache's error.log, no console output, ...
1
vote
3answers
2k views

Apache not working - 500 error

Fresh new install of Ubuntu fresh new install of apache2. Apache not working, where should I start? It's installed, it restarts properly it just doesn't show anything in the browser but a 500 error: ...
2
votes
1answer
202 views

Getting Apache to be able to write to a folder

I've been tinkering with Apache2 in Ubuntu and am trying to get a script of mine to be able to create files. It doesn't seem to be working, sadly. I think the issue is that whichever user is running ...
1
vote
1answer
1k views

Missing python.h when trying to install Apache Thrift

I have tried many times over to install Thrift (http://thrift.apache.org/) in Ubuntu Server. I tried it on two machines... And one I had nothing on it before; meaning fresh Ubuntu installation. I ...
2
votes
0answers
429 views

How to setup LAMP environment? [duplicate]

Possible Duplicate: What's the easiest way to set up a LAMP stack? I have been using XAMP in windows for a long time. Recently I have moved to Ubuntu and now want to have a similar ...
4
votes
3answers
12k views

Apache server doesn't start automatically

I installed Apache a long time a go as part of setting up the development environment on my laptop. However, since I stopped it some months back, it no longer starts automatically on boot. I have ...
1
vote
1answer
189 views

How to set a folder inside an apache document to the correct permission?

When i try to get to some apache2 folder it gives me You don't have permission ... How to give the folder and the files full permission of usage ?
1
vote
1answer
146 views

Apache2 restore files

How to restore all apache2 files, i mean i want to set the files to be like the default ones for apache2 . How to do it?
3
votes
1answer
6k views

How to install and configure sendmail for php

I am running LAMP on my Ubuntu 10.04 Desktop linux and using it as a development machine. I need to send emails from my php pages, but it seems that the sendmail php command needs sendmail installed ...
29
votes
5answers
34k views

how to stop apache2, mysql from starting automatically as computer starts?

my os is 11.04. i have apache2 & mysql installed. how to stop apache2, mysql from starting automatically as computer starts?
2
votes
2answers
470 views

WebDAV with Apache only working with Ubuntu client

WebDAV (via SSL) is configured on a VirtualHost on my root-Server. SSL is working fine with all clients and other applications running below this virtual host are working. Unfortunately WebDAV does ...
9
votes
5answers
33k views

How do I install Apache Tomcat 7?

Troubleshooting with apache Tomcat 7 steps should be followed .... after downloading apache-Tomcat 7 // open terminal go to that downloading file folder in which tar.gz file is still. Untar the ...
3
votes
1answer
7k views

Allowing apache access to a subdirectory in a home directory without access to the home directory

I am running Ubuntu 11.04 desktop with encrypted home directories. I do development work on my computer and I want to have my webroot directory to be within my home directory so it is encrypted with ...
1
vote
1answer
4k views

Alias for virtual host using Apache2

I am attempting to set up the LAMP environment for the first time. I normally use Windows and just install XAMPP. I have followed the instructions on Ubuntu forums and have duplicated the file in ...
6
votes
1answer
2k views

Issue with “ServerName” upon Boot or Restart of Apache2

The Question: I keep getting this error on all apache2 restarts I have on my box here at my home, and I cannot figure out how to get rid of it: * Restarting web server apache2 apache2: Could not ...
4
votes
2answers
14k views

editing apache vhosts and ubuntu hosts file?

I have just installed ubuntu (11.04). I have installed apache/mysql/php etc. I have a few sites sitting in /var/www/site1 /var/www/site2 /var/www/site3 I want to be able to access these at ...
3
votes
1answer
358 views

Error while configuring python in apache2

I was trying to configure python to apache2 as suggested by http://ubuntuforums.org/showthread.php?t=91101 First downloaded and installed and enabled mod_python module Changed ...
8
votes
1answer
9k views

Install mod_jk with apt-get

Is it possible to install mod_jk via apt-get? If yes, what is the name of the package?
2
votes
2answers
726 views

Using Upstart after building Apache & Mysql from source

I'm using Ubuntu 10.10, Apache 2.2.17 and Mysql 5.5.10. I need some assistance getting Apache and Mysql running on boot. Reading the getting started over at upstart website attempting to get it to ...
0
votes
2answers
284 views

Naming conventions: apachectl, and configuration: do you think this is correct?

The batch script to restart the httpd server is called apache2. Apache is a group of volunteers who do far more than just an http server. Calling the script apache2 (apachectl is apache2ctl and so on) ...
1
vote
3answers
2k views

how to change file permission of a file permanently that is set back to default on boot

I have a file /var/logs/apache2/error.log. And every time I boot, Its file permission is changed to default (unwritable) by the system. So, i have to run chmod command every time i boot-up. How to ...
0
votes
2answers
798 views

Bind example.com locally

How can I bind example.com to be served by the apache, I have running locally on the machine for development purposes? I tried adding this in my /etc/hosts file 127.0.0.1 example.com and ...
0
votes
2answers
608 views

I can't get the directory contents to not be listed when viewing localhost/mySite

I have localhost/mySite/logs as password protected and it works using .htaccess and .htpasswd, but additionally I would like to have localhost/mySite to not list directory contents. I've tried doing ...
2
votes
2answers
493 views

Why does Apache start automatically?

I've some issues with my webservers Apache and lighttpd on Ubuntu 9.04. I use lighttpd only and I've stopped Apache on Ubuntu, but for some reason since few days ago, Apache starts to run and I need ...