Thanks fugtruck, this has definitely put me on the right track. I think the biggest hurdle I am faced with is that I am trying to implement this in the Amazon cloud where there is no concept of virtual IPs so I'm not sure if it's achievable.
I have several Windows Media servers I wish to load balance and I am wondering if I can use a load balancing server to very efficiently rewrite or re-route data packets.
I know that load balancing is relatively simple to achieve by using a software or hardware load balancer (Zeus for example)...
Thanks. I updated the ServerName from domain.com to www.domain.com and it does what I want it to do. I'm not sure if that will have any effects I'm not aware of though.
I think the DNS is incorrectly configured because I can't access the domain through http://domain.com but I don't have direct...
Hi,
I have some symlinks set up and when accessing them on my domain e.g. http://www.domain.com/symlink, Apache seems to redirect to http://domain.com/symlink
How do I stop this from happening?
Thanks
I am using the following code in my htaccess file which is almost getting the effect I want (which is for directories to be mapped to my PHP script).
Options +FollowSymLinks
RewriteEngine On
RewriteRule (.*)/$ index.php?r=$1
This allows me to have URLs like example.com/dir/ to be mapped to...
Thanks for the suggestion but no luck, I'm afraid.
I tried:
document.move.innerHTML = 'test';
The best I can do at the moment is do document.write but that's not much use.
I'm wanting to develop some simple AJAX-style JavaScript features to a website designed to run on mobile computers running IE4 but I'm having difficulty because getElementById won't work.
Is there an alternative I could use?
Thanks
I have a problem on a server whereby if I try to open a non-fully qualified URL e.g. http://www.example.com/path, I am redirected to http://example.com/path/ instead of http://www.example.com/path/
It is causing problems on domains that don't have their DNS set up in such a way as to allow...
Yes, that's what I am lead to believe as well. I have no problem using Perl since most servers support it, but I'd rather just keep its usage to a minimum so it only does what PHP can't.
The difficult bit for me is the Perl functionality, as I haven't used Perl before.
I think what it needs to do is to submit the form via JavaScript, which connects to the Perl script and when it receives a certain response back JavaScript sends the form (which will have other data in it) to the...
Hi,
I'm trying to build an upload form that incorporates an upload progress status bar. I would like to do it using as much PHP as possible, using the basic idea of:
Perl handles the client to server file transfer and stores the file temporarily in a directory.
During the upload, PHP monitors...
I have a server with content I'm wanting to geo-block and I'm wondering if anyone knows of any software that can accomplish this. It could be on a specific port or protocol if that is any easier.
If anyone could point me in the right direction, I would be really appreciate it.
Thanks
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>untitled</title>
<script type="text/javascript" language="javascript">
var prevWin = null;
function open_prevWin(oForm)
{
if (prevWin && !prevWin.closed)
prevWin.close()...
I have two buttons in a form and I would like to have one of them submit the form into a pop-up window and the other to submit the form normally.
Is this possible?
After much searching I have finally found the answer. The Apache setting preventing this from working is AcceptPathInfo.
Adding "AcceptPathInfo On" to .htaccess has fixed the problem. I hope this helps others with the same problem.
This is not an issue related to PHP - I am certain of that.
Take this page on PHP.net:
http://www.php.net/conferences/index.php
You can modify the URL to be as below and it still works just the same:
http://www.php.net/conferences/index.php/var1/var2/var3/var4/
The web server just ignores...
Thanks for your reply. I will try to explain a little bit clearer.
The URL format I am trying to achieve is http://www.domain.com/page.php/var1/var2/var3. This works fine on all other servers I've tried since it recognises that page.php is a file and not a directory and the PHP script handles...
I have a PHP script running on someone else's Apache server which accesses variables in the format of "page.php/var1/var2" (doesn't use mod_rewrite).
On most servers this set up is fine as Apache just interprets that it must display page.php and effectively ignores "/var1/var2" that follows...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.