Open-source HTTP server.

learn more… | top users | synonyms (1)

90
votes
2answers
160k 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
661 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
201 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
465 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
349 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
8k 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
724 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
275 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
796 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
597 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 ...
1
vote
2answers
491 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 ...
2
votes
1answer
5k views

Tomcat6 Manager Webapp returns a 404

http://localhost:8080/manager/html gives a 404 error on apt-get install of tomcat6 (6.0.28 on JVM 1.6.0_20-b20 on 2.6.35-27-generic amd64). http://localhost:8080/host-manager/html works. Lists one ...
0
votes
1answer
147 views

What should I do for change connection from other network computer mysql to my computer mysql?

What should I do for change my connection from other network computer mysql to my computer mysql? My computer run web application with his apache local server and mysql that located in other ...
1
vote
1answer
4k views

Can't get directory listing on my Apache to work

I'm having trouble enabling the directory listing on apache. I did it a few weeks ago but had to reinstall cause my Wubi ran out of space, and now I can't get it to work and it's driving me crazy. I ...
8
votes
2answers
617 views

Can I use a desktop install as a server?

I'm new to Linux and Ubuntu is my first distribution. I have chosen Ubuntu because I want to learn more about Linux. I'm under time constraints and need to setup a server as soon as possible. I have ...
1
vote
1answer
350 views

Should I run mod_fcgi or APC on a 512MB VPS?

Considering that I run a low memory VPS, should I configure Apache to use mod_fcgi, PHP APC or both? As I understand it, the APC will not be shared between processes so I wonder what would produce the ...
11
votes
1answer
9k views

How do I use Python with apache2?

I'm trying to get Python working with Apache, however I'm failing to have success with either CGI or mod_python. Does anyone know a good tutorial or something? Thanks.
2
votes
1answer
1k views

An error occurrend while adding files to archive

I am trying to compress and backup my /var/www/. I stopped apache, but I still get this error: An error occurrend while adding files to archive
2
votes
3answers
5k views

Chrome starts download instead of displaying webpage from local server

I set up Apache web server. When I open http://localhost in Google Chrome, it asks me to download a file. It works correctly with Firefox. How can I resolve this issue?
8
votes
3answers
1k views

Recommended workflows for Apache virtual hosts?

I do a lot of local web development work on my Ubuntu machine, and I'm constantly setting up virtual hosts in Apache. I don't need to do hard core server management, but I am getting tired of the ...
1
vote
2answers
3k views

Making file in user's homedir accessible from web/webserver

I have a txt-file one of my user's homedir which is regularly updated there by a script. I now want to be able to access (read) this file from the web. /home/user/folder/file.txt So what I tried ...
19
votes
4answers
45k views

How can I reinstall Apache HTTPD after deleting some of the configuration files?

I recently was messing around with my Apache config and wanted to reinstall so I could start from fresh. I followed some forum posts about reinstalling the apache2 package and this ended up deleting ...
2
votes
2answers
16k views

How to install CodeIgniter?

Please give me a step by step process on how to install CodeIgniter on Ubuntu. I'm still a newbie. Thank you!
14
votes
3answers
7k views

How do you install mod_wsgi?

I ran the following commands sudo apt-get install libapache2-mod-wsgi sudo a2enmod mod-wsgi I keep getting this extremely frustrating message ERROR: Module mod-wsgi does not exist! Please help. ...
0
votes
2answers
970 views

Apache Not Accepting a Path in My Home Folder

I have trying to set up an Apache site to use a folder in my home folder without any success. I exactly followed the steps in this page: https://help.ubuntu.com/community/ApacheMySQLPHP yet I did not ...
2
votes
3answers
3k views

How do I turn on SSL for test server?

I have a LAMP stack running. My the web root is /var/www. So if I go to http://linux-server/some/page.php It renders the page located at /var/www/some/page.php If I use https I get page not found. ...
0
votes
2answers
1k views

LAMPP on Ubuntu - http.conf

Hey, I've got LAMPP installed in Ubuntu and I want to get .htaccess working but I don't know how. And, yes, I have searched all over Google. Cheers,
3
votes
2answers
2k views

Apache 301 redirection from one domain to another

I'm trying to set a redirection in my VirtualHost configuration for my website. So far I am able to redirect non www trafficto the www address like this : <VirtualHost: *:80> ServerAlias ...
2
votes
2answers
10k views

VirtualHost and 403 Forbidden problem with Apache

I have the exactly same problem as in 403 Forbidden Error when accessing enabled virtual host, but I tried the provided solution and still receiving 403 Forbidden, my site is called project, and it's ...
2
votes
1answer
940 views

Can't start apache2?

I have installed apache2. But there is a problem with starting apache2 after update. apache2: Syntax error on line 215 of /etc/apache2/apache2.conf: Cannot load ...
3
votes
1answer
3k views

Why can't I purge apache2.2-bin and apache2.2-common?

I have tried to completely remove apache2.2 from my system. But the only thing that happens is that apt-get will remove "apache2-mpm-prefork" and install "apache2-mpm-worker". I have killed all ...
8
votes
2answers
11k views

AWStats: cannot access /var/log/apache2/access.log

I installed awstats on my new Ubuntu Lucid server, but when cron tries to run it as user www-data, it complains that cannot access /var/log/apache2/access.log: Permission denied. In ...
2
votes
3answers
5k views

How to fix phpMyadmin login?

I've isnstalled phpMyAdmin with apt-get install phpmyadmin. When I open "http://localhost/phpmyadmin/", enter "root" as the user name and my MySQL root password and press go, then if I use Firefox, I ...
2
votes
1answer
2k views

Clock in Apache doesn't match system time

My server time seems to be off on my Apache2 install, how do i fix this? Just running purely "date" in terminal returns the right time but im not sure how to login to apache2 and change it? This is on ...