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

4
votes
2answers
9k views

CentOS 6 - iptables preventing web access via port 80

I'm setting up a new web server with CentOS 6.2 and am not able to connect via the web. Everything looks set up correctly in httpd.conf and Apache is running, so I'm assuming it's an iptables issue. ...
2
votes
2answers
2k views

Can't cd to directory of programs like apache or tomcat on ec2: permission denied

hi I have setup tomcat 7 through yum on an ec2 instance. I have access to the user ec2-user by default through aws from launching the ec2 instance. I am trying to simply look at my tomcat logs ...
2
votes
1answer
3k views

Access forbidden! Error 403 on apache

I am trying to configure apache server on openSUSE 12.2. I am doing as shown in the manual here http://en.opensuse.org/SDB:Linux_Apache_MySQL_PHP it works fine. When I try to access ...
3
votes
2answers
703 views

Can't use VirtualBox shared folder as Apache document root

Having jumped through several hundred hoops I've finally managed to get Centos 5.8 to mount a VirtualBox shared folder (which is not read-only), which now appears at: /media/sf_sites This is a ...
1
vote
2answers
3k views

Where is php executable on Ubuntu?

I have installed apache and php. I know php works as I have tested a simple php file on apache server. I'm writing a simple webserver which should be able to process php files. So what I want to do ...
1
vote
2answers
166 views

windows rename command to rename file.a.b to file.b

I have a few folders with hundreds of html files. The file name should have been .htm but it is .asp.htm and it does not run. It is plain html file and there is no asp code. So, I tried to rename the ...
1
vote
1answer
70 views

Is there a way to detect regular expression support in a htaccess file?

I use to following rewrite rule to pass the whole url to an php script: RewriteEngine On RewriteCond %{SCRIPT_FILENAME} !-f RewriteCond %{SCRIPT_FILENAME} !-d RewriteRule ^(.*?)$ ...
2
votes
1answer
192 views

Understanding Safety of open ports

I am a D-I-Y type of guy and have managed to setup Apache on my LAN and make it accessible via WAN over port 80 and Tomcat on port 8080. I aim to possibly get a home web server up (will calculate the ...
6
votes
6answers
8k views

WWAHost.exe using same port as Apache

I have installed XAMPP 1.8.1. on my Windows 8 64bit machine. I'm now facing a problem with ports. This is what I got from XAMPP Control Panel: 11:52:43 AM [Apache] Problem detected! 11:52:43 ...
0
votes
1answer
2k views

403 Forbidden on OS X with symbolic link

I just upgraded to OS X 10.8 Mountain Lion to find that my web server setup was ruined by the upgrade. I managed to get PHP and Apache back up and running, but I still do not have my old setup from ...
0
votes
1answer
644 views

Can access Apache locally with WAN IP but cannot connect over the Internet

I've followed the installation instructions on the XAMPP site, set up port forwarding and added firewall rules like described in this question. I can connect to the server locally using the WAN IP ...
3
votes
1answer
1k views

How well will XAMPP transfer to Windows 8

I'm in the middle of setting up XAMPP on my Windows 7 machine and I am wondering if it's worth my time doing it now if I plan on upgrading to Windows 8 Pro later this week. Should I expect any issues ...
0
votes
1answer
951 views

Cannot change file to www-data, keep getting “chown: www-data: Invalid argument”

OK, so I have been at this issue for the better part of 2 hours. I tried this original command sudo chown www-data:www-data newlogo.png I got this: chown: www--data: Invalid argument I have ...
0
votes
1answer
154 views

Rotating log files using logrotate command

I'm very new to apache. We wish to rotate the log files in daily basis. We installed the apache2 using : sudo apt-get install apache2 in Ubuntu. Are there any ways to do it using logrotate ?
0
votes
1answer
25 views

Looking for sysconf_addword explanation

What is sysconf_addword? Couldn't find a documentation about this. Is it apache specific?
5
votes
1answer
409 views

Making Apache use compiled PHP instead of bundled package on Debian

My ultimate goal is to install OwnCloud on my Debian box, a 64-bit squeeze. My setup is pretty simple. I have installed OpenPanel which in turn installs all of the required LAMP modules via APT-GET. ...
0
votes
2answers
2k views

Sublime Text Preview php files on localhost

Hey I've just started using Sublime Text 2 with the SidebarEnhancements package installed. I have it setup so that when I press the build shortcut it previews in Chrome which is fine for my HTML ...
1
vote
2answers
172 views

How to get Apache to follow symlink instead of downloading it?

I am just using the standard apache config file which mentions that it follows symlinks, but when I hit the url http://localhost/test it downloads the symlink file instead of following it. What ...
1
vote
1answer
2k views

phpMyAdmin is showing 403 Forbidden

I have just changed my www folders permission to 777 using this command sudo chmod -R 777 www And now when I try to open phpMyAdmin in browser and it is not opening and showing 403 Forbidden Error ...
0
votes
0answers
81 views

How would I broadcast a subdomain/virtual name on a local server with people connected to the same network

I have a server connected to the router which has ubuntu 12.04. It is has apache/mysql/php all installed ready to go. the folder structure is like this: /var/www -- this isnt the root -/libs -/logs ...
0
votes
2answers
1k views

Already uninstalled apache2 in Debian but it's still there?

I performed the following command apt-get remove apache2 but when I type service --status-all apache2 is still up in the list. How can you completely uninstall apache2?
2
votes
0answers
657 views

Apache says it's started but localhost does not load

I'm having a problem with apache2 server today. I just wont respons for localhost but it says it's started. Env: Mac OSX. I'm listening on 80 as specified in /private/etc/apache2 lines 51-53. ...
1
vote
1answer
133 views

Multiple apache-webservers on different machines all on same IP

My apache-knowledge is minimal. What I have: One apache on 10.10.10.5 One apache on 172.16.10.9 Both use same pfSense-gateway and share same external IP. I would like point two different domains ...
0
votes
1answer
778 views

Redirect an URL to another URL with Apache and WAMP?

I was wondering how to make a simple redirection, I've got WAMP installed on my computer and I wish I could do that: When I go to abc.com it redirects to xyz.com. I did this in the httpd.conf file, ...
2
votes
1answer
4k views

apache 2.4 + php 4.7 cannot load php5apache2_4.dll

I am trying to make Apache (httpd-2.4.3-win32) to work with PHP 5.4.7 (VC9 x86 Thread Safe) on Windows 7. Apaches default page is working and proudly says: "It works". PHP CLI is working and ...
1
vote
1answer
238 views

Multiple .htaccess auth sources

I'm attempting to use LDAP authentication alongside regular .htpasswd authentication, i.e., a user may use a valid LDAP user/pass OR one of the user/passes in .htaccess. The LDAP login is working ...
1
vote
1answer
155 views

Cannot read directory

I am using CentOS 6.3 and I am trying to opendir and readdir using PHP. apache is in the group of the user and I am trying to read the /home/user/mnt which is mounted remotely using SSHFS. ...
3
votes
1answer
304 views

How can I route all traffic coming in to an OpenVPN server through an Apache proxy on the same machine?

I was following the instructions here to set up mod_pagespeed as a proxy for my phone. As the security note suggested, I set up OpenVPN and got that much working on my phone, but OpenVPN isn't letting ...
1
vote
0answers
63 views

Trying to reconcile global ip address and Vhosts

I have been using my local machine as a web server for a while, and I have several websites set up locally on my machine, all with similar Vhost files like the one seen here ...
1
vote
1answer
211 views

Why apache doesn't restart after configuring SSL?

I've installed apache2 and then configure it to work with SSL following this and this tutorials, the problem becomes when I try to restart the service, the following error throws: ...
0
votes
1answer
69 views

Apache restart failure

My server had a high load and I stopped Apache2 until the load receded using the killall -9 apache2. On starting Apache2 I got the error: *# /etc/init.d/apache2 restart * Restarting web server ...
1
vote
1answer
821 views

Ubuntu + SVN: Could not open the requested SVN filesystem

I'm aware this question has been asked a lot of times. I believe I understand the answers, but I still had no luck. I tried both one repo and multiple repos configurations, having the same issue for ...
0
votes
1answer
327 views

Why is group write permission ignored in Ubuntu?

I want my user to have full access to the local Apache root folder, and I also want the Apache user to have full access to the same folder. What I did was create a new group called DevGroup and I ...
0
votes
1answer
206 views

Web server does not respond to outside network

I installed Apache and Phusion Passenger on a Rackspace Cloud server (Ubuntu 12.04 LTS), but for some reason I can't access it from an outside machine. From the local server I get a correct response: ...
1
vote
0answers
222 views

Apache giving 403 when everything is allowed

I feel like I must be missing something obvious. I'm on Mountain Lion. I'm trying to use a directory that isn't in my /Library/WebServer/Documents/ directory. I've tried the following, in order: a ...
4
votes
1answer
330 views

How do I set up a virtual host?

My router redirects port 80 to port 8080. My router works fine and my domain name is routed properly. This is my virtual hosts file: NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot ...
0
votes
1answer
568 views

Cannot find 127.0.0.1 or vhost with localhost apache in mac

I was working with localhost:81 during a long time with vhost and all was right. Right now I need to work over the 80 port and i change the http.conf and http-vhost for used the 80 port but right now ...
1
vote
1answer
199 views

Apache Commons and Tomcat Servlet API install and dependency

I'm trying to install the Commons libraries fileupload and commons-IO. I have CentOS6 installed and Tomcat version 7. I managed to download and install the Apache-commons-io package without any ...
1
vote
2answers
602 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 ...
1
vote
1answer
246 views

Apache 2 Permission for Download Data

I set up an Apache2 webserver on the raspberry Pi (Raspbian - Realy close to Debian), and I wanted to download a File from the website. In order to do that, I copied a video file (.avi) to the ...
1
vote
0answers
114 views

mod_python won't “./configure” on BSD

I'm trying to install mod_python 3.3.1 on Apache 2.4.3 and whenever I try to run ./configure (with apxs etc) and instead of configuring correctly, it says that Apache 2.x is required and my current ...
2
votes
1answer
192 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 ...
0
votes
2answers
946 views

How to allow apache access to a file but prevent others from viewing it?

I have several folders with Magento installations. e.g. www/magento1 www/magento2 All of the files/folders inside of those are owned by root:magento1 and root:magento2 respectively. I have 3755 ...
1
vote
1answer
360 views

How do i install apache on my ubuntu 12.04 where it has virtualhost

According to the docs https://help.ubuntu.com/10.04/serverguide/httpd.html i have done following, and that is almost how i do always in my Fedora, but Ubuntu looks like its not working. a) DNS to IP ...
2
votes
1answer
402 views

Changing the PATH environment variable in Apache

In my phpinfo(), in the section Apache Environment, I want to change the value of the variable PATH. This is possible? I tried SetEnv PATH /mypath, but it does not work. How do I change the PATH ...
2
votes
1answer
4k 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 ...
0
votes
1answer
158 views

Something is preventing incoming connections in Windows XP

I want to test Apache on my PC. When I visit my site from my PC at 127.0.0.1 or by typing my IP, it works. But when I try viewing my site from another PC by typing my IP, the site didn't load. I ...
0
votes
2answers
553 views

Apache virtual hosts configuration works on Windows, not on Linux

On Windows this Apache virtual host configuration is fine, but when on Linux it does not work the same. NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot "/www/chess/htdocs" ...
0
votes
0answers
238 views

Installed Apache httpd and PHP5.4 on CentOS, but no mention of PHP in httpd.conf file?

Using Centos 6.3, I installed Apache httpd 2.2 with PHP 5.4 (from a custom yum repository) and MySQL. PHP works fine on the command line, but there's no mention of it in Apache's httpd.conf. I know ...
0
votes
0answers
113 views

Can't connect to home server

Trying to figure out what I might be doing wrong. I installed XAMPP - and everything looks fine. If I go to localhost everything comes right up. But when I go to my IP address, I just get a ...