Page 1 of 1

URL Tweaking

Posted: 30 Dec 2008, 06:08
by kk_madiraju
Hi,
I just downloaded V2 and as per instruction i uploaded all files. I am able to see my site after uploading all the files. But my site url for Ex: www.krishnmadiraju.com is now resolved as www.krishnmadiraju.com/#/content. (content is my image gallery name). when i tweaked url by removing /# then its showing the files and folders which are on my server.
Please help me

Posted: 30 Dec 2008, 09:02
by Tony
Hi kk_madiraju

Have you tried logging into admin, go to config and tick off useswfaddress: ?

regards

Tony

Posted: 30 Dec 2008, 10:37
by mjau-mjau
This is because of the SWFADDRESS and because of the STARTPATH. The url will reflect the current location of the gallery. Most likely, startpath is set to "content/" because your startpage has not been assigned to another folder yet.

You can change that by going to the admin -> config ... You can also turn off the dynamic address field by setting useswfaddress=false in the config, like Tony said.

Posted: 02 Jan 2009, 22:23
by kk_madiraju
Thanks for providing solution. I am facing one more problem

though i put useswfaddress = false (un check the check box) if i type content after my url www.krishnakmadiraju.com all the folders/files are being displayed. click here on www.krishnakmadiraju.com/content

Posted: 03 Jan 2009, 09:49
by carter2
I suppose a quick fix for just now would be to put a blank/empty index.htm in the content folder.

Posted: 03 Jan 2009, 11:48
by tomrock
Or, assuming youre on an Apache server, make a file called .htaccess and put Options -Indexes in it. You would put this file in your Content directory.

That tells Apache not to list the contents of the current directory and those beneath it. Anyone who tries gets a "Forbidden" message.

Posted: 03 Jan 2009, 16:07
by kk_madiraju
Thanks a ton. I tried Second one and it worked for me.