Whenever a new user signs up on my site, I want to do some pre-processing to shorten their searches in the future. This involves anywhere from 30 to 2 minutes processing time. Obviously I cannot do this when they click the submit button on signup... or on any PHP page they visit. However, I would like this done within 5 minutes of the...
Is it possible to configure Apache web server to map a directory to a path on another web server? For example, can I make requests for http://server1/resource/ return http://server2/resource/. If this is possible, how do I go about setting this up?
...
Hi
I have successfully installed mod_mono 2.4 and httpd on Fedora 11 and got httpd to start.
But when I add:
<VirtualHost XXX.XXX.XXX.XXX:80>
ServerName mydomain.com
ServerAlias www.mydomain.com
ServerAdmin [email protected]
DocumentRoot /usr/lib64/xsp/test/
MonoServerPath mydomain.com "/usr/lib64/mono/2.0/mod-mono-server2...
How can I add a trailing slash to:
RewriteEngine on
RewriteRule !\.(js|ico|gif|jpg|png|css|html)$ index.php
I have tried with:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.+[^/])$ $1/ [R]
But it's not working
...
I need to upload a file using Apache fileupload with ProgressListener but alongwith that I also need to show the progressbar for the upload status.
Actual requirement is I just need to parse a local XML file parse the xml into appropriate objects and put them in Database. Do I really need to upload the file to server to get it parsed. A...
Imagine you have a site API that accepts data in the form of GET requests with parameters, or as POST requests (say, with standard url-encoded, &-separated POST data). If you want to log and analyze API calls, the GET requests will be easy, because they will be in the apache log. Is there a simple way to get the POST data in the apache...
To quote some famous words:
“Programmers… often take refuge in an understandable, but disastrous, inclination towards complexity and ingenuity in their work. Forbidden to design anything larger than a program, they respond by making that program intricate enough to challenge their professional skill.”
While solving some mundane pro...
I've got MAMP running (XAMP for OSX), and I'm trying to setup subversion.
When I go to the freshly created repository in my browser, I get:
<D:error>
<C:error/>
<m:human-readable errcode="2">
Could not open the requested SVN filesystem
</m:human-readable>
</D:error>
The repository is setup in ~/server/svn. My html/php files are also ...
I am going to develop a web portal. I have an option to choose a technology either PHP or ASP.NET. In terms of performance (not development speed) which will do better.
Coming to webserver, IIS vs Apache, which will perform better?
How many no. of requests/second can be handled by IIS?
How many no. of requests/second can be handled b...
Hi,
My department doesn't have a server to host web applications developed in ASP.NET. They do have RHEL boxes having Apache web server, which won't host my ASP.NET web pages. I inquired and they said they have mono which would run my .NET applications.
I created a simple web page and it worked on my windows laptop.
My question is wha...
I am trying to setup a server with multiple web applications which will all be served through apache VirtualHost (apache running on the same server). My main constrain is that each web application must use SSL encryption. After googling for a while and looking other questions on stackoverflow, I wrote the following configuration for the ...
My site was down today for about an hour while my host was doing some updates to the box I am on. the updates were a PostgreSQL update, Apache Recompilation, and Cpanel update.
After the updates were finished up I am getting this error from any SVN commands.
svn: error while loading shared libraries: libpq.so.3: cannot open shared obje...
Is it possible to redirect all requests to x.domain.com/.* to y.domain.com/.* WITHOUT letting this redirection be visible in the url?
I have unsuccessfully tried several things in .htaccess. Just specifying the [L] flag still shows this redirection in the url (as it does when I use the [R] flag additionally).
EDIT: as somebody claimed ...
I'm using the following code in my .htaccess:
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteCond %{REQUEST_URI} !/$
RewriteRule (.*) $1\.php [L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)/$ /$1 [R=301,L]
# Special rewrite rules
# ideas/<id>
RewriteRule ^ideas/([0-9]+)$ idea\?id=$1
# u...
how in the heck is it possible to verify the signature of a distribution for apache Tomcat or ant? i've been using GnuPG and it doesn't seem to do the trick, despite warnings all over the apache site to verify files first.
using windows...if that helps.
STEPS:
1) download binary version .exe / .zip / .asc / KEYS file
2) gpg --import K...
I mention it in httpd.conf as follows to let you interpret css as php
<FilesMatch "\.css$">
ForceType application/x-httpd-php
</FilesMatch
Content-Type is output as text/html and is troubled.
Therefore I added the next cord to the top of the css file.
<?php header("Content-Type: text/css"); ?>
It's not cool...
Do you know how to...
Hi there Guys.
I'm currently working on a new website and want to run Elgg (Elgg.org) on it. It's fully running on PHP5 and has a lot of rewrite rules defined in the .htaccess files. On the Elgg community I didn't found / get any answers, so I will try and ask them here.
I'm running multiple sites on my windows machine, now I want one ...
Hi,
Lets say I subdomain called largefiles.domain.com
This is on a dedicated server and I can change any configuration.
Server runs Apache/2.2.3 (CentOS)
How do i restrict all file downloads to just 10Kbps for every file downloaded from the webserver? What is the easiest solution to implement this for the entire subdomain?
...
I'm trying to get Redmine (a Ruby on Rails app) working. It works fine when started with ruby script/server webrick -e production, however, I'm having trouble getting it working in Apache with Passenger.
Accessing http://example.com/redmine returns the Redmine home page, but clicking any link (or even adding a / to the URL) results in a...
This relates to another question I asked earlier today.
I built SVN 1.6.2 from source. In the process, it has completely screwed up my dev environment.
After I built SVN, Apache wasn't loading. It was giving me this error:
Syntax error on line 117 of /private/etc/apache2/httpd.conf: Cannot load /usr/libexec
/apache2/mod_dav_svn.so int...