I have a virtual machine running Apache 2 and am having the worst time attempting to set up multiple name based virtual hosts. Basically as soon as I upload and enable a new virtual host file in the sites-enabled folder the entire web server stops responding. It won't start, I can't connect to it from a web browser, and it won't start ba...
When attempting to view a *.wav URL on our webserver, the data doesn't transfer properly.
We are using apache2 with php5.10. Among the apache rewrite rules is:
RewriteRule ^(.+)\.(wav)$ /wav.php?wav=$1.$2 [L,NC]
And the relevant code from wav.php is:
<?php
$image = getPassed("wav");
header( 'Content-Type: audio/wav');
set_include_pa...
I'm trying to configure a custom xcode template for building Apache 2.2 modules in xcode. Everything seems to be working okay so far, except the most important bit: the custom build settings.
I currently have my template configured so that my target has a run script phase that executes apxs, the Apache module build tool, like so:
Shell...
What is wrong with this rewrite rule?
RewriteRule ^api/(.+)$ api/index.php?url=$1 [L]
I simply want "index.php?url=" to be added after api/ and before the rest of the get parameters.
api/image/upload&arg1=1&text=lorem+ipsum
to
api/index.php?url=image/upload&arg1=1&text=lorem+ipsum
What is wrong with (.+) to get everything after ...
Hi
An SSL certificate expired on one of my servers and I ordered a new one from godaddy.
But if i replace the server.crt , the chain certificate and the server.key (the key used to generate the csr file) end up getting the ERROR
Could not reliably determine the
server's fully qualified domain name
Note :
I have not made any cha...
Hi? How can I allow only a visitor to view only some part of the page and while my IP(assigned IP) can view all pages.
...
I'm trying to write RewriteRule with 2 RewriteConds.
The first rewrite rule is using maxminds mod_geoip(www.maxmind.com/app/ip-location) which works fine.
The second one I need to only capture the root index (i.e. mysite.com)
The rule should not be matched if the url is mysite.com/hi-mom, only the root of the website.
Also assumin...
We have a Tomcat front-end server that proxies to our Apache 2.2.11 app server, running on a 64-bit Fedora 2.6.21.7 EC2 2xlarge instance (AKI aki-b51cf9dc). Apache is running mod_perl and is not threaded.
We are trying to have the connections persist for a long time between Tomcat, running on another EC2 instance, and the Apache server...
I have Apache running and serving PHP but I will also like to run JBOSS for my other web app. JBOSS is running on port 8080 while Apache is running on port 80. If there is a request for URL example.com, I want Apache to handle it because it is PHP backend but for URL example2.com, I want Apache to forward the request to port 8080 to be h...
Hello,
In my django project I would like to be able to delete certain entries in the database automatically if they're too old. I can write a function that checks the creation_date and if its too old, deletes it, but I want this function to be run automatically at regular intervals..Is it possible to do this?
Thanks
...
Dear all,
I have an issue with url direction here. I have used mod_rewrite in apache to rewrite the url from domain.com/page.php to domain.com/path/page.php.
I have some link in the webpage for example href="newpage.php" will automatically go to domain.com/path/newpage.php instead of domain.com/newpage.php. May I know is there any php ...
I'm writing a small web application using Perl, HTML::Mason and Apache.
I've been using Mason's usual <%args> method for receiving 'normal' form parameters, and Apache2::Upload for receiving files.
However, I want to write a page that allows a user to upload multiple files, and I'd like to take advantage of HTML5's multiple attribute t...
Hey all,
I am following instructions on how to deploy rails application on server.
I did the following:
sudo gem install passenger
passenger-install-apache2-module
Everything is successful so far. But next on instruction he uses:
nano /etc/apache2/sites-enabled/000-default
Problem is there is no apache2 directory in etc. Theref...
I am developing an open source Java library which will be licensed under the Apache License 2.0. Can I copy code (one method with minor modifications ) from another MIT licensed library. If I can, how should I mark the copyrights then?
...
Hi,
I wonder how to make my apache2 server public?
I mean, I have a static ip and someone who knew that ip can access my website from out-world.
I already install apache2. I test it from http://localhost, I mean its working.
My OS is ubuntu by the way.
Thanks
...
I think its a very simple process, but I have never done it and would like to get some information on it. Basically what I need is to update my current version of Apache (2.2.x) to a newer version (2.2.x). The problem is that that Apache server is a production server with SSL. I just don't want anything to go wrong while doing the update...
Hello,
on my site I use version-strings in the URL.
For example: www.mydomain.com/images/image.v723484872.jpg
In the http config I rewrite the URL, so that the version string is cut of.
But how can I track the URL www.mydomain.com/images/image.jpg in the webalizer statistiks?
Has any one an idear?
Thank you
Oliver
...
Hi there,
I have VM (Ubuntu 10.04, Apache, CouchDB 1.0, ...) with public ip address.
Is it possible to access CouchDB (mainly Futon) from public ip address (i.e. 187.323.132.232:5984), not from http://localhost:5984?
Or on my local machine, set up an ssh tunnel?
...
Setup includes: Windows 7 Apache 2.2 Tomcat 5.5 mod_jk-1.2.30-httpd-2.2.3
After performing the appropriate installs, I can get to the Apache default page, and I can access the Tomcat on localhost as well. But when I try to access jsp-examples via Apache, I'm getting the following error 503:
"Service Temporarily Unavailable The server i...
Hi:
I installed httpd-2.2.16 and openssl-1.0.0 on Red Hat Linux 5: when starting the Apache a 'undefined symbol: SSL_get_servername' message is generated on the command line.
Listed below are the parameters used for the Apache installation (section A) and the generated error message when Apache is started (SECTION B).
Can anyone point...