The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
27 views

auto assign ip address to httpd.conf

I am building a cluster of servers in which new virtual machines will spin up as resources are needed. Is it possible in the apache config file to use a variable that will detect the servers ip ...
1
vote
1answer
654 views

Apache HTTPd - rotatelogs not working

I've edited my conf.d/ssl.conf file and changed the TransferLog directive from: TransferLog logs/ssl_access_log to TransferLog "|/usr/sbin/rotatelogs logs/ssl_access_log.%Y-%m-%d.log 60" (I am ...
0
votes
1answer
60 views

Need help overriding a strict httpd.conf directory setting

Per requirements of a project I am working on, the apache httpd.conf must have the following restrictive setting as a security measure. <Directory /> Order Deny,Allow Deny from all ...
0
votes
1answer
1k views

RewriteBase rule works in .htacess, but not in httpd.conf (inside <Directory …>)?

Let me explain by example... File: /var/www/example.com/public/wp-content/cache/minify/.htaccess <IfModule mod_rewrite.c> # THIS WORKS... RewriteBase /wp-content/cache/minify/ ...
0
votes
1answer
48 views

Same Apache httpd instant: Same Subversion repository defined two different ways

We currently have a Subversion repository defined using a svn_auth_file for authorization. I would like to change this to use our LDAP server (a Windows Active Directory server). This way, users can ...
0
votes
1answer
177 views

mod_evasive apache module configuration issues

I have configured mod_evasive to not block google bot's IPs. But it's still banning google bots. Here is my configuration in /usr/local/apache/conf/httpd.conf: <IfModule mod_evasive20.c> ...
0
votes
0answers
143 views

X-Forwarded-For to log client ip is not working in apache

I have a load balancer in front of an apache httpd server which inturn forwards the requests to Tomcat6. The flow looks like below: Client -->Firewall System -->Load balancer -->Apache httpd ...
0
votes
1answer
89 views

Virtual hosts only working for 2/4 directories?

I am running CentOS 6.2 and I have in httpd.conf the following: <VirtualHost *:80> ServerAdmin user@example.co.uk DocumentRoot /var/www/html/example.co.uk/public ServerName ...
1
vote
1answer
172 views

Apache Core Dump file deletes itself on physical machine restart

I am having an issue which there must be a simple solution I am not seeing, but I have googled and googled to no avail. The issue I am having is when I do a server (physical machine) restart, every ...
1
vote
1answer
136 views

How to disable access to www.example.com, but make laptop.example.com active

My website's two major sections can be accessed using: www.example.com for general content laptop.example.com for more specific content The laptop section is ready and deployed. User can access it ...
0
votes
1answer
276 views

Deny URLs with a parent .. in the path in apache

I was wondering if there was a simple way to make apache httpd deny (403) any URLs which contain a parent .. in the path. So far I have tried (ignoring the flase positives for simplicity) ...
0
votes
1answer
494 views

Blocking referring domains via httpd.conf

I'm using the following code to block referrer spam on a site which is receiving a huge volume of spam traffic. I'm told that it is more efficient in terms of server load to use httpd.conf, but I'm ...
0
votes
3answers
755 views

How to make subdirectory the document root of a web domain or localhost

I have a subdirectory abc in the document root /var/www/html I want to be able to run any file any_file.html within the subdirectory by typing in the browser: localhost/any_file instead of ...
0
votes
2answers
87 views

Finding Document Root

I can browse the company intranet site using the following URL. http://192.168.1.2/admin/index.php How do I find the full path of the file "index.php"? I tried... locate admin/index.php and it ...
1
vote
2answers
54 views

Subdomain setup in apache not working, suspected conflict

I've setup the following in my virtual hosts: <VirtualHost app.pdf-edelivery.com> ServerName app.pdf-edelivery.com DocumentRoot /home/pdfedelivery/public_html/site <Directory ...
2
votes
1answer
534 views

Restrict WebSVN Access to Windows Users in Specific Domain

I am trying to install WebSVN on top of a VisualSVN install. VisualSVN is set up to use windows authentication, with users from domains CLIENT and DEV getting access to different areas of the site. ...
1
vote
2answers
707 views

How do I get Apache 2.2.17 started?

I am running Apache 2.2.17 on Fedora v14. I cannot access the running web server from a browser, and I also have difficulties setting it up to listen on port 443. The server httpd is running: ...
0
votes
1answer
179 views

Hot link prevention not working

I am trying to prevent hot linking of images on our site. I have tried editing /etc/httpd/conf/httpd.conf by adding the following to the end of the file: <VirtualHost *:80> ServerName ...
2
votes
2answers
178 views

setting up xammp (for windows) local web servers

I have checked several tutorials on the web and answers here, none seem to be working for me. I am unable to set up my local web server so my projects are available via name other than ...
2
votes
2answers
1k views

VirtualHost not using correct SSL certificate file

I got a doozy of a setup with my virtual hosts and SSL. I found the problem, I need a solution. The problem is, the way I have my virtual hosts and server names setup, the LAST VirtualHost directive ...
0
votes
1answer
65 views

Apache not letting me into a folder

I've configured my httpd.conf using: Directory "/Users/GMan/Public/Source/LC2"> I've stopped the apache server with: apachectl stop And then restarted it with: apachectl -f ...