Historically this is the main apache configuration file. In recent installations, the main file can also be called apache2.conf

learn more… | top users | synonyms

2
votes
1answer
730 views

Apache mod_deflate not compressing javascript and css files?

"GET /Symfony/web/app.php/app/dashboard HTTP/1.1" 4513/37979 (11%) "GET /Symfony/web/css/application.css HTTP/1.1" -/- (-%) "GET /Symfony/web/js/application.js HTTP/1.1" -/- (-%) "GET ...
2
votes
1answer
367 views

Apache deflate ignores javascript

I have set up deflate in my htaccess. Everything works fine, except for some reason javascript files are being ignored. I tried every possible combination of AddOutputFilterByType DEFLATE with ...
2
votes
1answer
114 views

httpd.conf match absolute file

I have the following directory statement in my httpd.conf for a virtualhost. <Directory c:/foo/bar/*/*/baz> <Files index.php> # something file specific </Files> ...
2
votes
1answer
2k views

Warning in Apache log: Cannot get media type from 'x-mapp-php5'

I have no idea what is causing this issue, but it seems to be related to the displayed file (just a simple index.php to print phpinfo) being in an aliased directory. Any suggestions what I can do to ...
1
vote
1answer
23 views

Apache AllowOverride Options Directive

I am trying to understand the following configuration (specific to FollowSymlinks and SymlinksIfOwnerMatch directives) in Directory section of an httpd.conf file: <Directory "/home"> Options ...
1
vote
1answer
21 views

Apache log for 301

How can i create a log file for 301 redirects, based on response header? I know that i can use SetEnvIf with CutsomLog, but it seems SetEnvIf has access just for request, no for response.
1
vote
1answer
392 views

http.conf setup to simplify using 'localhost:81'

I'm installing portable wampserver within my dropbox folder so I can access anywhere. I have this achieved and accessible using http://locahost:81 I want to access it by using a different address ...
1
vote
1answer
258 views

mod_rewrite in .htaccess causes header not to be applied - why?

Excerpt from <VirtualHost *:80> section in httpd.conf (goal: set Cache-Control for all JavaScript files): <LocationMatch "\.js"> Header set Cache-Control "max-age=290304000, public" ...
1
vote
1answer
193 views

Will private dirty RSS used by mod_php ever be made available to other processes?

I've got PHP processes running that occasionally have to briefly use large amounts of RAM. After PHP uses the large amount of RAM, the httpd process seems to keep the same private dirty RSS ...
1
vote
1answer
40 views

Apache configuration for two web apps

I have two web applications that run on the same server. Each require a different port number, but only one port is open to the public. My company would rather avoid opening another port up but still ...
1
vote
1answer
214 views

Configuring httpd.conf to handle both a website and subversion

I am trying to set up an Apache2 server on Suse10. It currently serves pages for an internal website. I've installed Subversion and have the source for the internal website in version control and ...
0
votes
1answer
16 views

Seting up folder from Apache root directory in other hdd and allow php to write on it

please need help... [LINUX] I'm trying to set up a big photos folder in a new hdd over apache. Before it was: /htdocs/photos now I'm trying to create a virtual directory: <IfModule ...
0
votes
1answer
39 views

Apache(httpd) virtual host configuration

I am trying to configure virtual host on local web server What i want is when i go to localhost or server IP i want to see the default centos page and when i go to the other websites that are ...
0
votes
1answer
188 views

Virtual Host forces to download files

I have been struggling with this for more than 5 hours now, and I can't seem to find the fix to my problem. Basically, I set up virtual host on my Fedora Core server (on custom port 55555). Any time I ...
0
votes
1answer
223 views

ssl_error_bad_cert_domain when accessing site by its ip address on https

i finally got my certificate verified from a trusted CA. now, i have edited my etc/httpd/conf.d/ssl.conf to locate my new certificate. i already included the ssl.conf in my etc/httpd/conf/httpd.conf. ...
0
votes
1answer
125 views

How do I enable Clean URLs on Zend Server CE?

I installed Zend Server CE followed by Drupal. I would like to enable clean urls for the local site but I am not able. How do I do that? Also, any changes being made to the httpd.conf file are not ...
0
votes
1answer
41 views

Apache Detects files as directories

I have a file 'result.txt' in my documentroot, now when I access: http://localhost/result/first It's accessing this instead: http://localhost/result.txt/first What could have I incorrectly ...
0
votes
1answer
422 views

Apache on Lion Server with two IP addresses

I'm trying to run Apache and nginx on the same machine, on different IP addresses. It's a Mac Mini with one ethernet card. I configured two eth network devices. I tried to change the apache ...
0
votes
1answer
304 views

virtual host setup: can't access wordpress site without www

I would like to access my site both with and without using the www. Currently it only works with. Leaving out the www just goes to a blank page. Also, wp-admin just loads a blank page too. I have set ...
0
votes
1answer
146 views

VirtualHost doesnt seem to be working

Good morning. I recently migrated my web server to new hardware and to the newest version of Apache. I was running Apache 2 before as well just to be clear. I seem to be having problems getting my ...
0
votes
1answer
544 views

I can't run apache, all against me, it says “The requested operation has failed”, see log?

Installing the Apache2 service The Apache2 service is successfully installed. Starting the Apache2 service The Apache2 service is running. ce] Apache/2.0.64 (Win32) configured -- resuming normal ...
0
votes
1answer
216 views

Redirect port / port 10000 to https apache

I have been reading around and trying different configurations to get a request to my server on port 10000 to redirect a http to a https request. For some reason I can't figure out how to make it ...
0
votes
1answer
360 views

Changing the order of VirtualHosts in WHM/cPanel

I have a need for one of the VirtualHosts that WHM is pulling from cPanel when automatically building httpd.conf to be placed last, because it uses a wildcard subdomain. Example: <VirtualHost ...
0
votes
1answer
517 views

Setting up Virtual Host in Fedora Core 15 using apache

I'm trying to setup a couple of Virtual Host files on my Localhost PC running Fedora Core 15. Now I get this working, but now onloy one Virtual Host site works, and if I type in ...
0
votes
1answer
782 views

Apache HTTP Server+Tomcat: Which file generates mod_jk.conf, how to modify generated stuff, and how does httpd reach it?

I'm using XAMPP with Apache HTTP Server and Tomcat Add-On installed. There's a default mod_jk.conf which is generated by Tomcat when starting it. But which file generates this mod_jk.conf file? How ...
0
votes
1answer
113 views

Apache server processes second request more slowly than first

I have an Apache server that has one Virtual Host with multiple Server Aliases, and I experience slow access times depending on what name I use to access the website. My httpd.conf file: ServerName ...
2
votes
0answers
70 views

Apache2 Basic Auth: user@ip, user2@ip2 - Is this possible?

I am looking at running an external service for clients to use here in my office while clients are working remotely at their office. Assumptions: Both my office IP and clients office IP are static. ...
1
vote
0answers
25 views

Rewrite not functioning in httpd.conf

My httpd.conf has: <Directory "/var/www/site"> AllowOverride All RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^site.com [NC] RewriteRule ^(.*)$ ...
1
vote
0answers
29 views

set up apache http server in windows as proxy to access another domain

I know this should be very basic and simple in theory, but I need to complete this task, I'm new to this and for some reason I can't find a suitable example that works for me. I am running apache 2.2 ...
1
vote
0answers
93 views

Apache configuration with proxy and location

I want to map these domains to these ports. How can I do it? http://test1.example.com/phpmyadmin/ example.com:80/phpmyadmin/ http://test1.example.com/app1/ example.com:8080/app1/ ...
1
vote
0answers
101 views

Why is Apache ignoring VirtualHost directive for first name in hosts file?

Standard pre-emptive disclaimer: host names, IP addresses, and directories are anonymised. Problem We have a server with Apache 2.2 (WAMP) listening on one IP and IIS listening on another. An ...
1
vote
0answers
89 views

Apache2 ScriptAlias seems to be ignored

I have two vhosts configured on my Apache2 server. One contains the API and the other a mobile version of my app. Since the mobile version needs to access the API from its own domain, I decided to ...
1
vote
0answers
132 views

Can't find the correct configuration of apache on Centos 5.6 for Trac 0.12.2

I've been trying to get Apache to serve Trac on CentOS 5.6 for the past few days. The missing link is almost certainly the Apache configuration. I know this because I can get trac to run locally with ...
1
vote
0answers
34 views

Odd Behaviour with wildcard sub domain

I am trying to get wild card sub domains working on my project here and it does seem to be working but i have come across some very odd behaviour here, every time i try to visit any subdomain instead ...
0
votes
0answers
19 views

Setting up Ajax Push Engine (APE) to work with two websites-domains on the same server

I have a server configured and running with APE. I would like to add at the same server, another domain to work with APE. It's possible? How to do that?
0
votes
0answers
22 views

How to using mod_rewrite under HTTPS

I'm write following configuration in httpd.conf. but, I can't start Apache when I turn on this setting. <VirtualHost *:443> ServerName www.example.com <IfModule mod_rewrite.c> ...
0
votes
0answers
29 views

Files in my server can be accessed..only once at a time

I have a tiny "webpage" in an Apache server running on my computer. I've got for it this .htaccess file: <filesMatch "\.(html|htm|js|css)$"> FileETag None <ifModule mod_headers.c> Header ...
0
votes
0answers
44 views

Where do I specifiy custom HTTP range-header entities and the necessary logic behind an entitiy?

I have a large JSON file which consists of xyz records. I'm looking for a way to retrieve parts of the file and have been reading the http-specs on how to define HTTP range-headers in Apache. The ...
0
votes
0answers
87 views

Problems with renaming of cookies in Apache2

We have following configuration of Apache: <Location /app/module > Order allow,deny Allow from all ProxyPass http://localhost/realname ProxyPassReverse ...
0
votes
0answers
85 views

AWS CloudFront to ELB - Apache Site not Showing

I'm working with a domain www.black-girl.co on AWS. AWS Configuration: Route53 configured so www.black-girl.co points to Cloudfront (can see this in DNS Routing). black-girl.co is pointing to the ...
0
votes
0answers
29 views

Error configuring virtual hosts

i Have a problem using my virtual hosts: When i try to connect to my server on direct ip adress, for example http://111.11.11.111/ in apache error log i see following error: script ...
0
votes
0answers
48 views

Three apps going through apache. How to configure apache httpd?

I have a quick question but I've been struggling to find the best solution: I have two java webapps and wordpress (php) that I need to serve through my Prod website: App #1 should be accessed when ...
0
votes
0answers
198 views

Apache2 Segmentation fault with wsgi_module

Apache 2.2.3 is running as an existing web server under RHEL 5. Attempting to set up Trac using wsgi_module. RHEL 5 ships with python 2.4, so in order to use the current version of Trac (1.0) I ...
0
votes
0answers
109 views

Plesk 10 VPS - Site on extra port?

I'm building my own custom content management system for a my websites. I want the content management-site to be available through another port so I can do this: www.mysite.com:8844. The server I use ...
0
votes
0answers
35 views

XAMPP Apache :: Allow from error

I have changed the apache httpd.conf file to restrict access of a directory to only a particular localhost. For that i have added this part of the code to the httpd.conf file <Directory ...
0
votes
0answers
353 views

Apache 2 Settings for high traffic webserver

Hey all and thanks in advance, this is an easy one for alot of you on here. I have a 2 server setup a web server and database backend. Well I am having issues optimizing my apache settings and don't ...
0
votes
0answers
156 views

Server Connection Defaulting to HTTPS in Firefox

I recently added SSL to my server using a self-signed certificate. The goal was to access phpMyAdmin without sending my credentials over the Internet in plain text. This works great for phpMyAdmin, ...
0
votes
0answers
204 views

Apache configuration mpm

Good morning. I have a problem with my server. Am I study the different "response times" of an apache server. The main thing I do is change the MaxClient. For this use: Laptop windows 7 core i3. ...
0
votes
0answers
47 views

redirect a domain to a cathegory of another domain

Let's say that I have www.cathegory-one.com and I wish to redirect it to www.mydomain.com/cathegory-one. How can be achieved this? Using a html redirect it is not a clean solution( i think). ...
0
votes
0answers
128 views

Setting up blog at blog.example.com (httpd.conf issue)

I installed WordPress on my dedicated server, but had a bit of trouble getting httpd.conf to play nice... I tried adding the following lines: <VirtualHost *:80> DocumentRoot /var/www/html/blog ...

1 2