[Project_owners] Website Bug...

Biju G C bijumaillist at yahoo.com
Tue Mar 30 13:30:59 EST 2004


 --- Robin Monks <mozillaman at linuxmail.org> wrote: 
> The links in the www.mozdev.org/docs site no longer work instead of them pointing to
> www.mozdev.org/docs/*.*  they go to mozdev.org/*.*  
> 
> Just wanted to let you know,
> Robin

dont goto www.mozdev.org/docs
goto http://www.mozdev.org/docs/ instead.
ie, with "/" at end.


Admins,

this is an issue since long. 
at mozdev if somebody comes to 

http://projectname.mozdev.org/subdirname

the server is not automaticaly redir to 

http://projectname.mozdev.org/subdirname/


or 
http://projectname.mozdev.org/path/subdirname to
http://projectname.mozdev.org/path/subdirname/

so browser will consider all links on the 
http://projectname.mozdev.org/subdirname
as are based as http://projectname.mozdev.org/


What we have to do?
In branding php code we have to write a code 

1. if requested URL path has "/" as ending
   process "index.*" file.

2. else if requested URL path is a dir 
   then redirect to path append by "/"

3. else process as file.

At present all the url ending with a filename without
a "." in the name as dir

a temp. soln. is use javascipt to check and redir
I have done this in one of my pages, dont remember where..




	
	
		
___________________________________________________________
WIN FREE WORLDWIDE FLIGHTS - nominate a cafe in the Yahoo! Mail Internet Cafe Awards  www.yahoo.co.uk/internetcafes 


More information about the Project_owners mailing list