Jordi wrote:ok, but neither one of the two error.php files seems to be called when a page is not found. you can test it at http://www.catalansoft.com and adding to this urs whatever file name you can think of. the browser's url text box starts to go mad until it is manually stopped.
I added to the url and it just redirected me back to the homepage.
NB: frames are very bad if you want to be listed in google!
Last edited by jaoudestudios on Wed Jan 14, 2009 10:56 am, edited 1 time in total.
Ahh, you are using frames! and your inner frame is remote, right? Just checked, they must be as they have different IPs. Which server are you uploading the .htaccess file to? To be honest I have never used frames, so I am unaware of their limitations - I just know they are very bad for indexing by google.
No, I'm not using them.
The code you posted is the one at the server hosting my domain, which redirects to my server at home, where there are no frames at all.
Jordi wrote:No, I'm not using them.
The code you posted is the one at the server hosting my domain, which redirects to my server at home, where there are no frames at all.
Just to clarify....
This is the domain I should be looking at/testing on...http://jordiserres.homeip.net/flightschool/? (continuously redirects)
Not http://www.catalansoft.com? (because this does not redirect it calls in using frames) (redirects to homepage - I think due to frames)
Try removing the ?e=404 and see if that makes a difference.
The infinite loop keeps appending the url with the folder name (/flightschool), so I think it is working (i.e. your server is setup to use .htaccess files) but something little is not right.
Just to clarify....
This is the domain I should be looking at/testing on...http://jordiserres.homeip.net/flightschool/? (continuously redirects)
Not http://www.catalansoft.com? (because this does not redirect it calls in using frames) (redirects to homepage - I think due to frames)
You'll see that both addresses eventually lead to the same landing page. That's o.k.
The first one is the 'real' address, of my home-located server. The second one is the 'public' address, which is hosted at http://www.mydomain.com, which redirects to my home server.
Try removing the ?e=404 and see if that makes a difference.
var/www/flightschool is the main folder, where .htaccess, index.php, and error.php are.
there are four folders which classify different file contents: code, css, images and miscellaneous files.