Hi guys,
I have a little problem with using SSL on a Tomcat that is behind Apache. I have used Google all morning to try to find a good solution, but nothing so far.
As a part of my SSL VirtualHost configuration I have
<Location /MyApp/>
ProxyPass http://localhost:8080/MyApp/
</Location>
This works fine for most cases, but j_securi...
I have some sub-applications in my site, for example:
http://server/app/subapp1
http://server/app/subapp2
How can I generate different log files for each directory?
http://server/app/subapp1/log/access_log
http://server/app/subapp2/log/access_log
...
My ASP.NET MVC application has been successfully ported to Mono. It works very well in xsp on port 8080, including the OpenID authorization process which is relying on RPX. In the process, the website makes some calls to RPX API (https://rpxnow.com/api/v2/...) in the background. At first, it triggered a HTTP 500 error in xsp. The problem...
hi,
I'm curious to know what are the performance impacts of using HTTP Basic Auth on a webserver like Apache or lighttpd or nginx. I imagine the bottleneck is the actual reading of the file by the server to authenticate a user. It also seems to me that the cost of reading the file to authenticate a user is proportional to the number of ...
I'm trying to use a [PerlSection][1] to get the server name and then use it to configure some RewriteCond-RewriteRule pairs and some other things. It seems I can't get very far. It says you can do this:
Apache2->httpd_conf("PerlPassEnv $key $val");
But trying to start Apache I get this syntax error:
"Can't locate object method "htt...
First of all I am not in any way unhappy with the performance of my Django powered site, its not getting massive traffic, a bit over 1000 visits per day so far.
I was curious how well it would cope with heavy traffic peaks so I used the ab-tool to do some benchmarking.
I noticed that the performance when the concurrency is larger than ...
The server starts without complaint, but as soon as I hit a page that requires an Apache2 module, like Apache2::Cookie, it dies:
Can't load 'C:/Perl5.10/site/lib/auto/APR/Request/Request.dll' for module APR::Request: load_file:The specified module could not be found at C:/Perl5.10/lib/DynaLoader.pm line 202... [etc all the way back to a...
In my googling it seems as though the mysql functions are not included in the base download of php5? I am seeing instructions for Linux, but I am running on a WAMP. Can anyone help me get these enabled?
I am fairly sure I have mysql/php/apache configured properly now (certainly apache and php are working), but I get an error when I try ...
we use Redirect-after-Post Pattern in our webapp.
Sometimes very few error logs are shown in our apache log like this:
[error] [...] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): ...
in my acces log they show up as
[...] "GET /xyz/ HTTP/1.1" 400 226 "-" "-" 72
What happens here is: The application se...
So I go to start my Apache2.2 service, which uses mod_ssl, from the command line with "-k start -e debug". It shows all the modules loading, waits a second or two, then returns me to the command prompt without error. The service, however, is no longer running. In the error log, there's this text:
Starting the Apache2.2-ssl service
Th...
I user apache2.2 mod_proxy_balancer + mongrel + rails2.3
Following error is occured.
"proxy: Error reading from remote server returned by"
I set this my httpd.conf
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
What's wrong?
...
I want to make my pages search engine friendly and it also looks better that example.com/pageid.php?id=12
I have pages different pages like showUser.php showLocation.php and I want all these to be rewritten.
Wo'nt mod_rewrite slow down my app a little bit?
...
i updated and installed php to 5.2.11 yet 5.1.2 was still being used. I did a search of all php5 binaries and replaced it with a hardlink to php (which says 5.2.11 when writing -v). However, after doing a cold boot apache2 is still using 5.1.2. AFAIK i dont have any binaries left of 5.1.2 and my current json code doesnt run (in apache......
I have the strangest issue ever. I'm trying to get results of CGI script running on the same server with get_file_contents and it works everywhere except my local machine under Ubuntu.
It works when I ask it to get url from different server (same script running on production), it works deployed on different server, I'm absolutely sure I...
I have a httpd.conf file that looks like this:
Alias /robots.txt /var/www/tech_eval/static/robots.txt
Alias /favicon.ico /var/www/tech_eval/static/favicon.ico
AliasMatch /([^/]*\.css) /var/www/tech_eval/static/styles/$1
Alias /media/ /var/www/tech_eval/static/media/
<Directory /var/www/tech_eval/static>
Order deny,allow
Allow from al...
I worked on a nice "force download file" script which purpose is to make sure files are being offered to download instead of displayed in the browser, no matter what type of file that is.
It used to work well but recently i received feedback that it wouldn't work, notably for pdf and xls files (MS Excel). The file is either detected as ...
Hello,
I get a certificate from Gandi for a domain www.mondomaine.fr
But for sql.mondomaine.fr I wanted to use a Self-Signed SSL certificate.
If I active sql.mondomaine.fr, the www.mondomaine.fr is using the self-signed certificate instead of the Gandiś one.
If I desactivate the sql. everything works fine.
How can I manage the use of...
Hello, I want to host several sites with under the same server which uses Debian 5, say I have site1,site2 and site3 and assume my ip is 155.55.55.1
155.55.55.1:80 for my site1 , script resides at /opt/django/site1/
155.55.55.1:8080 for my site2 , script resides at /opt/django/site2/
155.55.55.1:8090 for my site3 , script resides at /opt...
Hello to all,
We try to migrate our old server to a new one but we experienced some problems with mod_python.
The problem is under this web page:
http://auction.tinyerp.org/auction-in-europe.com/aie/
Here is our apache2 configuration:
NameVirtualHost *
<VirtualHost *>
DocumentRoot /var/www/
<Directory />
Options FollowSymLin...
Hi,
I am trying to set up my apache (version 2.2.3) to work as reverse proxy. I configured apache on public server as it is described at http://www.askapache.com/htaccess/reverse-proxy-apache.html
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule headers_module module...