Tagged Questions
-2
votes
0answers
23 views
Is my apache installation in windows ok? [closed]
I am trying to use Apache2 in Vista. I downloaded it and installed it. I did not install it as a service though.
I see in the Start a Start Apache in console new button that seems to work. I.e. when I ...
0
votes
1answer
22 views
Apache ProxyPass Virtual host
I'm trying to do a similar setup to the one discussed in this older thread. I've enabled the proxy_module, proxy_connect_module, proxy_http_module, and rewrite_module. It worked, but now when I go ...
0
votes
1answer
15 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
85 views
apache httpd.conf subdomain setting cause 500
I am trying to adding a subdomain for my mobile site. But when I add below code into my httpd.conf, i could open m.domain.com in my browser, but failed all www.domain.com with 500 Internal Server ...
1
vote
1answer
38 views
Running a file without extension as CGI-script outside /cgi-bin
It seems like I'm the first person wanting to do this...
It was really easy to solve with lighttpd, but with apache this seems impossible.
Basically I want to run a cgi-file without extension outsite ...
0
votes
4answers
66 views
Apache2 Proxy timeout
I have Apache2 with PHP + PHP-FPM configured according to:
http://wiki.apache.org/httpd/PHP-FPM
I am writing a script that will take a long time to execute on an internal Vhost, but keep getting ...
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
17 views
Apache HTTPD “sites/mods-enabled/available” configuration
I've recently moved from the default Ubuntu/Debian apache2 packages to installing the Apache HTTPD from the official tarballs. I have everything working fine, but I wanted to know if there's any easy ...
0
votes
2answers
55 views
How can I block a user agent from all sites on my server?
I originally this posted at webmasters.stackexchange.com, but was told I'd get a better reception here.
For the last few days, I've been suffering from what appears to be a (presumably inadvertent) ...
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>
...
1
vote
0answers
27 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 ...
0
votes
2answers
52 views
Apache httpd-vhosts.conf file sending all requests to default vhost
What is wrong here?
NameVirtualHost *:80
<VirtualHost *:80>
ServerName domain1.com
ServerAdmin membersupport@domain1.com
DocumentRoot /var/www/html/domain1-com
</VirtualHost>
...
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 ...
0
votes
1answer
39 views
How does Apache 2.2 know about my server's second IP, and how can I hide it?
My server has two IP addresses, and I want two Apache services listening to each one separately. The DNS has this:
a CNAME alias pointing 'intranet' to servername
a Host (A) record pointing ...
0
votes
2answers
140 views
WAMP different sites on different ports accessible on LAN
I have a small windows server set up on a LAN, with static IP address 192.168.1.100.
I have a few other client machines, say 192.168.1.101 - 104.
Requirements:
Host an apache server (wampserver) on ...
0
votes
2answers
47 views
Unable to change Apache http server port in unix
I downloaded Apache HTTP server, compiled it and installed it in a unix box.
I tried to start my Apache HTTP server in unix but got the below error so I thought of changing the port.
(13)Permission ...
0
votes
1answer
63 views
Apache - how do I create an exception for a vhost's VirtualDocumentRoot in httpd.conf?
I'm new to Apache, and I'm wondering if there's a way to configure VirtualDocumentRoot to create an exception for just one of my vhosts on my local server. Currently all of my sites are stored in ...
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
43 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 ...
1
vote
2answers
75 views
Virtual Host showing “Index of /” instead of displaying my site [closed]
So I just ran a clean install of Mountain Lion OSX 10.8 and am trying to get everything back up and running again. I uncommented the php module and vhosts in http.conf, added brew, mcrypt, autoconf ...
0
votes
1answer
30 views
Using same directory declaration for multiple Vhosts
Is there a method for declaring name based virtual hosts, but sharing the same directory declarations? So for example, the Directory section in both of these Vhosts is the same, so is there a method ...
1
vote
2answers
52 views
Can I use regex or wildcard to set Apache's AddType Directive?
I manage an internal Apache2 system enabling HTTP browsing and downloads of a connected file system. I do not have control of the files, file types, or file names of the content being uploaded by the ...
0
votes
3answers
68 views
How to use one httpd.conf for testing and production server?
On my testing server I want to listen to:
127.0.0.1
and on my productaion server I want to listen to:
.###.###.
I am searching for something like that:
<if #server=>
Listen 127.0.0.1
</if ...
1
vote
2answers
102 views
Can't find httpd.conf on Ubuntu
I have installed apache and going to configure the apache settings in Ubuntu 12.10, but I can't find the httpd.conf file (I have searched for it, but it seems I don't have the file in my system).
Can ...
0
votes
0answers
83 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
1answer
112 views
Apache LimitExcept GET to IP address but deny all methods to other IPs
I'm having some trouble with getting the Order directive right in a vhost configuration in Apache.
I have some IP addresses that I want to totally deny access to the entire vhost. These have been ...
0
votes
1answer
29 views
Getting gzip compression to work on my server (modules?)
I have copied the htaccess file from HTML5 Boilerplate into my httpd.conf file and restarted Apache, but for some reason, gzip compression is still not working:
I have tested to see if the modules ...
1
vote
2answers
58 views
Apache deny/allow in vhost config and in .htaccess, which takes priority
If I specify a Deny from xx.xx.xx.xx Directive in a <Directory /var/www/html/test-directory/></Directory> block in an Apache vhost configuration.
Then specify a different Deny from ...
2
votes
1answer
77 views
Redirect subdomain to another website on a single IP virtualhost setup
I apologize if this has been asked before, but I've looked at a number of questions here and none of them seem to answer my question.
I have a series of domains all pointing to my server. For each ...
1
vote
2answers
32 views
Make Apache2 skip problematic configs?
Is there a way to make Apache2 skip configuration files or segments if they lead to errors?
For example, if I have specified a <VirtualHost></> but the defined path doesn't exist anymore. ...
1
vote
0answers
92 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/
...
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 ...
2
votes
1answer
56 views
apache httpd.conf - virtualhost configuration
I'm new to apache and httpd.conf
The problem I'm having is I need different website to go to different vhost configs and if only the IP is requested it needs to go to the root index.html
This works ...
0
votes
2answers
153 views
Using naked domain in apache, no “www” on domain in httpd.conf
Incredibly there is no good tutorial or easy reference guide for using naked domains (no subdomain) as the primary URI online that I could find.
I'm trying to configure this to happen in my ...
0
votes
2answers
156 views
Apache2 default vhost in alphabetical order or override with _default_ vhost?
I've got multiple named vhosts on an Apache web server (CentOS 5, Apache 2.2.3).
Each vhost has their own config file in /etc/httpd/vhosts.d and these vhost config files are included from the main ...
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 ...
1
vote
1answer
92 views
only port working with mod_proxy is 8009, trying to use with tomcat and httpd, dont know why
I am trying to use mod_proxy with httpd and tomcat. If I leave tomcat ajp to run on 8009 in the server.xml of tomcat and in the httpd.conf of apache httpd everything works great but once I change it ...
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
0answers
100 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 ...
3
votes
1answer
53 views
How do you http-auth all sites on a server?
I'm setting up a development server and need to apply these basic rules to all virtual hosts on the server in the /var/www/html directory.
AuthType Basic
AuthName "Development Area"
AuthUserFile ...
0
votes
1answer
121 views
Apache is serving from the first virtualhost for all subdomains and main domain
Objective: To have multiple sub-domains working successfully with a wildcard SSL certificate. The sub domains do not have separate dedicated cpanel account, and hence share the same dedicated IP ...
-2
votes
3answers
80 views
Apache as backend server doesnt kill childs
I have apache as backend server for nginx. Here is my config for prefork MPM which i use:
StartServers 1
MinSpareServers 1
MaxSpareServers 5
MaxClients 10
...
1
vote
2answers
131 views
httpd running as _www instead of www as it used to [closed]
OSX Mountain Lion and Apache 2.2.22.
I have always had the httpd.conf set as:
User www
Group www
and it was running as such. Until today. Rebooted the server for another reason and when I tried to ...
2
votes
2answers
160 views
Is it possible to add wildcard serveralias to virtualhost without modifying httpd.conf manually?
Is it possible to add wildcard serveralias (example: *.somesite.com) in an apache server without modifying httpd.conf manually? I use a DNS different from my hosting server and i have added asterisk A ...
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 ...
-3
votes
2answers
91 views
index.html opens up fine but index.php saying 404 not find page [duplicate]
Possible Duplicate:
How to configure php5 on apache2.2?
I have bought new apache server 142.4.4.15
It opens up index.html but cannot open index.php
I have php, apache and mysql installed on ...
2
votes
0answers
69 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.
...
0
votes
3answers
64 views
httpd 2.4 missing directives
I just setup httpd 2.4 on an Amazone AMI and I noticed in the httpd.conf file there are alot of directives missing compared to a 2.2 conf file.
For example: ServerTokens, Timeout, Server Signature, ...
1
vote
1answer
388 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 ...