apache2

Slide presentation on the web

I'm looking for a way to do a presentation on the web. I want to have a series of slides which I can go forwards and backwards with while having audio done over a conference call. For the slide element, I thought of using a meta-refresh or javascript to update the slide but wondered if there was a more elegant way using standard servers...

Django & Apache: How to debug on Testing server

I am trying to debug an issue that happens on our testing server. So how do I make it so that I can access our testing server when I start Django by typing: python manage.py runserver ? Does it have to pass through Apache? If so, I need to configure Apache somehow but I am not using mod_wsgi and so, don't know how to do this. Thanks!...

Rewriting with Apache

Hey all, I have this setup .. /plain index file /sub_dir1 /sub_dir2 (<-subdomain) /sub_dir3 /blog (<-wordpress) /etc/ but want this .. /wordpress /sub_dir1 /sub_dir2 (<-subdomain) /sub_dir3 /etc/ Is this possible with wordpress' rewrite rules etc? Any advice on the Apache rules? Cheers, Jeremy ...

mod_rewrite creates 301 instead of transparent redirection if folder exists

Hello, i'm having a small problem here. I'm using a simple rule to redirect all requests to a script, excepts some folders with static content : RewriteEngine On RewriteCond $1 !^(templates|css|js|uploads)/(.*)$ RewriteRule ^(.*)$ index.php?url=$1 [L,QSA] Most of the time, the redirection is good and transparent. But if the folder mat...

Apache installation on Windows 7

I am newbie with Apache. I am learning .. after the installation when i try to start the service I am see the following errors. The Apache service named reported the following error: Unable to open logs . The Apache service named reported the following error: no listening sockets available...

Problem setting up django on Apache

This is probably really simple. But I guess I'm too new to WSGI and Django to get it on my own. I have a brand new shiny Django project on a Ubuntu virtual machine hosted in /var/www/mysite. The project was created with django-admin startproject mysite I'm following a WSGI tutorial to get it set up, so I created an ./apache folder...

Why doesn't my SSI work ?

I am having problems with passing query params into SSI include from within my zend framework application. I am trying to include a PHP file inside another PHP: <!--#include virtual='/ssi/test.php?x=hello' --> This executes properly, if my hellotest.php (which contains the above line) resides in my document root. If, however I do th...

createing wamp server with cygwin ?

i notice that in cygwin we can install apache2. can we make a wamp with cgywin ? ( php mysql and apache ) better with phpmyadmin ? or we cant do that ? if we can, please give me a tutorial to learn on. Thanks Adam Ramadhan ...

Multiple Domains on a VPS with Apache

Hello all, I am planning on getting a VPS soon and have two sites I want to host. I have my local vhosts setup for my development environment using host file to port it correctly. My question is hopefully simple: When setting up with two separate domains that point to the one VPS server is Apache smart enough, like on the local environ...

.php extension not being parsed by apache on mac os x 10.6

I wanted to use postgres with php, and the default install of mac os x, doesn't have the postgres php modules installed. I tried using the entropy.ch install not realizing that it was incompatible with mac os x 10.6. After removing the entropy code, attempts to render php files responded with a textual representation of the php file. ...

Guile Scheme and CGI?

I recently discovered that CGI scripts can be written in pretty much any language that can print to stdout. I've written a small guile cgi script that works on my local apache install, but not on my shared host: #!/usr/local/bin/guile -s !# (display "Content-Type: text/html") (newline) (newline) (display "hi") (newline) This is the o...

How do I configure Apache2 to allow multiple simultaneous connections from same IP address?

By default, Apache2 seems to allow only 1 connection per IP address. How do I configure Apache2 to allow multiple simultaneous connections from the same IP address? Here is my situation: a web app being hosted on a server. a remote client makes an request that may take 15 seconds to complete. the same remote client makes another (ind...

Optimizing the website with .htaccess

I've tried to optimize my website using YSlow for directions. However, even though I have added the DEFLATE code at .htaccess to gzip the files, YSlow still doesn't show the files as gzipped. I tried testing my website using this: http://www.gidnetwork.com/tools/gzip-test.php and it shows that my webpages are not gzipped or compressed. H...

Apache Can't start because of a make_sock bind to address error on port 80

I have noticed a new thing going on with my server that I can't quite figure out what is making it happen. I'm hoping someone out there has experience with this problem and can help me find a solution to get it to stop. I did a reboot on my ubuntu server tonight that I have running at slicehost.com. Everything runs great until I go ...

Why are my shared variables getting cleared out between PerlChildInitHandler and PerlResponseHandler in mod_perl?

I am trying to load a configuration file into a hash during my PerlChildInitHandler and then access the values from PerlResponseHandler. However, even though the process number is the same, it seems that variables changed during the child_init() call revert back to their default values when handler() gets called. The basic scenario is: ...

apache proxy module gives 403 forbidden error

Hi, I am trying to use the apache's proxy module for working with xmpp on ubuntu desktop. For this i did the following things - 1) enabled mod_proxy by creating a symlink of proxy.conf, proxy.load and proxy_http.load from /etc/apache2/mods-available/ in the mods-enabled directory. 2) Added the following lines to the vhost <Proxy ...

Dynamic Image Caching

I have a CherryPy app that dynamically generates images, and those images are re-used a lot but generated each time. The image is generated from a querystring containing the variables, so the same query string will always return the same image (until I rewrite the generation code) and the images are not user-specific. It occurred to me ...

passing env variables to Apache proxy server

I am using Apache2 with mod_perl and Plack::Handler::Apache2. My web site is at http://mywebsite.org/. In the VirtualHost definition of mywebsite.org, I have the following ProxyPass /app/one http://one.org/ ProxyPassReverse /app/one http://one.org/ ProxyPass /app/two http://two.org/ ProxyPassReverse /app/two http://two.org/ Of course...

Apache configuration maven failing to PUT

We've put basic authentication on the Apache instance hosting our maven repository and now our automated build is unable to deploy (PUT) to the repository (although it can GET) giving the error: Already tried to authenticate with 'Authentication Required' authentication realm at maven.dev.renewtek.com, but still receiving: HTTP/1.1 401 ...

Location directive seems to put the kibosh on Alias in Apache conf

I have a virtual host configured with a Location block and an Alias like so Alias /lib "/path/to/lib" <Directory "/path/to/lib"> AllowOverride None Order allow,deny Allow from all </Directory> <Location /> SetHandler perl-script PerlHandler Plack::Handler::Apache2 PerlSetVar psgi_app /path/to/webapp/app.psgi </...