Apache is the widely known term for the Apache HTTP server, a very commonly used web server software maintained by the Apache Software Foundation.

learn more… | top users | synonyms (1)

2
votes
2answers
2k views

Custom php.ini override for each user

How can I make it so that each user (with Apache's mod_userdir) has a php.ini file in their home directory that gets used along w/ the system php.ini (currently in /etc/php5/php.ini? Cheers! EDIT: ...
2
votes
1answer
3k views

Soft link to external drive not visible in apache directory listing

I am on Ubuntu 8.10, and generally share my content with ppl on LAN by creating soft links in Apache2 document root to the intended directory. So if I want to share my Videos directory I will CD ...
2
votes
4answers
8k views

Map “Sites” folder to http://localhost on OS X

I'm using the built-in server on my Mac. The URL to my Sites folder is: http://localhost/~username/ with MAMP I had just http://localhost/. Is there any way to get just http://localhost/ with the ...
2
votes
2answers
9k views

Cordova Android Install On Linux

I've been pulling my hair out for the past two days trying to get cordova to detect and install the android platform for a project. The specific error: Error: ANDROID_HOME is not set and "android" ...
2
votes
1answer
484 views

.htaccess Allow access not file by link only

I know that is possible to limit the access to a directory by the allow from ip.ip.ip.ip directive. But I've got a slightly(?) different problem: There is a directory, that contains pdf files only. I ...
2
votes
1answer
2k views

Apache/php cannot access remote cifs/samba share

I am trying to understand what my problem might be here: I am using a web application built on LAMP that needs access to a samba share that I've successfully mounted using mount -t cifs ... In the ...
2
votes
1answer
6k views

Apache2 - Redirecting a subdomain to another URL

I have two subdomains, a.website.com and b.website.com, pointing to the same IP address. I want to redirect b.website.com to a.website.com:8080. I have this in my .htaccess file... RewriteEngine on ...
2
votes
2answers
472 views

always true rewritecond

My university provides a public_html file in each student's Linux directory so tat each student can have a webpage. I want to put all my PHP scripts into that file and place the index in a ...
2
votes
3answers
12k views

Apache VirtualHost isn't serving a page

I have a domain name that is linked to my ip address at home. However, I want to use the same server/ip to show more than one website. I can't get Virtual Hosts to work though. My ...
2
votes
1answer
282 views

How to mark client javascript caches as invalid [duplicate]

Possible Duplicate: Is Firefox storing javascript files even if all caches are off ? I have a site that is simultaneously in use and in development, and every so often I need to update the ...
2
votes
2answers
10k views

Config xampp never to cache pages from localhost

I am not a webmaster, and that was exactly the reason why I installed XAMPP 1.7.2 on Windows XP SP2 instead of manually configuring Apache, MySQL and PHP to cooperate each other. Now I am having to ...
2
votes
1answer
3k views

Permission denied because search permissions are missing on a component of the path, after chmod and chgrp

[core:error] [pid 5132] (13)Permission denied: [client 123.123.123.123:50398] AH00035: access to / denied (filesystem path '/var/www/mysite.com') because search permissions are missing on a ...
2
votes
1answer
158 views

When trying to start Apache - Cant load “Magick.dll” for module Image::Magick?

I have ActiveState Perl 5.10 installed on Windows 2008 machine. I installed ImageMagick-6.8.7-9 Q16 (32-bit) installed. Instead of using ppm to install PerlMagick I built it myself using dmake and gcc ...
2
votes
3answers
5k views

localhost/foldername not working after upgrading to Yosemite

After upgrading to Yosemite I can no longer access folders in my Sites directory like this: http://localhost/foldername instead I have to add ~myusername after localhost like this: ...
2
votes
1answer
1k views

Apache as Proxy replace the html code/tags/text

I configured my apache2 server as a proxy server. I added some filters to my proxy.conf file to change the text (html source code) of the websites. Example code: ExtFilterDefine foodo mode=output ...
2
votes
2answers
1k views

Where does the httpd.conf reside in GCE Apache?

I have a simple, Django application which I would like to push to production on a Google Compute Engine (GCE) server. The GCE server is running Debian-Wheezy. I have installed Apache 2, Django 1.6.2 ...
2
votes
3answers
6k views

best practice for access permission to users for apache tomcat

I have a Linux box being shared by various developers. They want to deploy their war files in apache tomcat which in shared location (/opt/tomcat). Since they don't have sudo access, I have to change ...
2
votes
1answer
10k views

How do I host multiple physical Web servers behind a single IP address?

I am running multiple web servers in my house, each of which is plugged into my router. Server A Server B Server C I currently can only use one server since my IP (xx.xxx.xx.xx) port 80 is pointing ...
2
votes
2answers
423 views

Are too many logfiles in the apachelog slowing down the server?

At my webserver, I have separate logfiles for all my over 250 domains. Is this showing the server down? Would it be faster to have only one logfile that contains all access-logs? Update: I will try ...
2
votes
2answers
6k views

How to access NodeJS server on LAN?

I'm not the most knowledgeable guy ever with networking, but here goes... I've created an application with NodeJS and I'd like to test the application on my LAN with my family. The application ...
2
votes
1answer
7k views

httpd: bad user name apache

on centos when I enter service httpd start or restart server gives Starting httpd: httpd: bad user name apache [FAILED] I tried to add ...
2
votes
2answers
4k views

Windows 8 PID 4 taking away port 80

After upgrading to Windows 8, I have not been able to run Apache because Windows is taking away port 80. Doing a netstat says that PID 4 is using the port: > netstat -ano | find "0:80" TCP ...
2
votes
1answer
215 views

Redirecting a virtual apache webpage

I know there are already several posts asking about redirecting webpages but I can not seem to find exactly what I am looking for. I have a website (for example www.example.com) that needs to be ...
2
votes
1answer
5k views

403 Forbidden for web root on Apache on Mac OS X v10.7, but can access user directories

When I access http://localhost/ I get 403 Forbidden, but if I access http://localhost/~username it serves up pages. Things I've tried: Checking error logs Swapping out with original httpd conf files ...
2
votes
1answer
1k views

Can't seem to run Apache 2.2 on Ubuntu 10.10 (Maverick Meerkat)

Here's my error message when I run sudo apachectl start: (98)Address already in use: make_sock: could not bind to address 127.0.0.1:80 no listening sockets available, shutting down Unable to open ...
2
votes
3answers
2k views

AllowOverride for userdir

I need to allow all userdir (host.com/~user) to override options in their .htaccess, such as php_value. Where do I configure Apache to AllowOverride ?
2
votes
2answers
422 views

Can I have one apache server serve from a few machines?

My home setup is as follows: Internet -> pfsense router -> Multiple Windows 7 machines Ubuntu NAS w/Webmin I have dynamic DNS setup so I have www.domainname.com ...
2
votes
3answers
2k views

Apache serve files from git repo branches

Is there any way to serve files from branches in a git repo without checking them out into different directories? I'd love the convenience of being able to create a new branch, push it to a test ...
2
votes
1answer
4k views

I need some basic help setting up CNAME and apache correctly

I have the grasp of setting up multiple name-based domains on Apache 2 using virtual hosts. Say I have a domain name called 'domain.com'. I now want to set up a sub domain of this, like ...
2
votes
2answers
2k views

Why Is Web Sharing Broken on My Mac?

Background: I use my Mac for web development, running copies of web sites locally. I recently installed the Snow Leopard update, which to all intents and purposes seems to have gone fine, except... ...
2
votes
1answer
65 views

How can I upgrade the Ruby version on Passenger?

How can I uprgade the Ruby version installed on my passenger module for Apache? I on Debian 7 and it's running Ruby 1.9.1 but I want 2.2.0
2
votes
1answer
2k views

Apache allow access to symlink

Please help me figure this out, I'm out of options what to even google. No idea why this apache configuration is not working as I expected. <VirtualHost *:80> DocumentRoot ...
2
votes
1answer
79 views

Apache httpd simple method for returning remote address

I have multiple remote systems that need to determine their public IPs, and I would like to use an internet-facing server running httpd 2.2 to return their remote addresses to them. While this would ...
2
votes
2answers
3k views

Why doesn't Apache start in MAMP?

I have installed MAMP on OSX and while MySQL is running, Apache doesn't start. Here are some screen shots I have to describe the situation. Also when I start the server (or before that) httpd is not ...
2
votes
2answers
10k views

Apache 2.0 - Disabling the HTTP TRACE and TRACK methods

I use Apache 2.0 as HTTP server and specific purpose Perl-based HTTP clients. Until now I disable TRACE and TRACK methods using the following configuration in the httpd.conf file: RewriteEngine ...
2
votes
1answer
611 views

Reverse Proxy for domain-name

I'm trying to setup Apache as a reverse proxy for a domain-name. It should redirect to an application running on a Apache Tomcat server i'm using the following configuration: <VirtualHost ...
2
votes
1answer
493 views

How does my hostname get resolved without a DNS server

My basic question is not "why doesn't this work?", but "why DOES this work?". I have a computer running apache 2.2 under windows, with the ServerName set to something like gateway_01. It's connected ...
2
votes
1answer
927 views

Upgrade PHP to 5.4.14 on OS X 10.7.5 Lion

I am trying to upgrade PHP on my Mac. I have downloaded PHP 5.4.14 and have no problems with the configuration command: ./configure \ --prefix=/usr \ --mandir=/usr/share/man \ ...
2
votes
1answer
429 views

Serving a web page through VPN and SSH locally on a remote computer

My desktop computer at work has apache running serving my webpage locally for dev purposes. I can access this no problem from work. What I want to do is VPN in to my company and SSH into my desktop ...
2
votes
1answer
1k views

Apache will not start in Mountain Lion. Syntax OK. What is happening?

Over the course of two days I was doing a lot of changes to my Apache config. At times changes did not seem to be picked up, and it was always the case that I had somehow messed up the syntax of the ...
2
votes
1answer
2k views

Nice commands in a .sh script for cron jobs

I have this php script that I need to run on shared webhosting. I have created a cron job that executes an sh script. The command for the cron was: /bin/sh /home/user/script.sh So I'm assuming it is ...
2
votes
2answers
998 views

Missing access log for virtual host on Plesk

For some reason i don't understand, after creating a new virtual host / domain in Plesk a few months back, i cannot seem to find the access log. I noticed this when running ...
2
votes
1answer
6k views

Dokuwiki on Raspbian “wheezy” (Raspberry Pi)

I've installed the dokuwiki via apt-get. The first call to http://localhost/dokuwiki give me "403 Forbidden" as response: Achtung! HTTP/1.1 403 Forbidden You don't have permission to access /dokuwiki ...
2
votes
1answer
836 views

Apache2 Server configuration with subdomain

I have a simple httpd.conf, which is working <VirtualHost *> AddDefaultCharset UTF-8 DocumentRoot "/opt/rt4/share/html" <Location /> Order allow,deny Allow ...
2
votes
2answers
265 views

HTTP Services inaccessible from some ISP's

I got a really strange problem and I don't know what to do anymore. All my problems started a couple of weeks ago. A basic schematic of my network is available in the fallowing image: Basic ...
2
votes
1answer
2k views

Apache unable to write to files and folders on Fedora 16

I've recently installed Fedora 16 on a new PC, and I'm intending to use it for developing my websites. I've set up Apache to host multiple development sites on the machine. Right now though, I am ...
2
votes
2answers
2k views

Installing PHP/Apache on Windows XP

I'm trying to install an Apache web server with PHP on my Windows XP Pro box, but I'm not having any luck. I'm trying to mimic a production server, so I'd rather not have the latest. The prod ...
2
votes
2answers
20k views

http://localhost:8080 is not working on running apacher Server through XAMPP

I am unable to configure a PHP/MySQL/Apache environment on my local machine using XAMPP. In my xampp control panel the Apache and MySQL status is shown as started, but localhost URL is not working. ...
2
votes
1answer
4k views

How do I setup Trac login?

I've been trying to follow the Trac installation guide, but I've hit a bit of a snag. I can view the default Trac setup just fine, but when I go and try to log in I get this on the page: Trac ...
2
votes
1answer
101 views

Does apache server need a router to connect?

I am trying to set up an apache server on Ubuntu 11.04. I am plugged directly into the wall at my apt complex and I do not have a router. I was able to connect it through my roommates router and ...