Search…

X3 Photo Gallery Support Forums

Search…
 
kk_madiraju
Topic Author
Posts: 8
Joined: 30 Dec 2008, 06:02

URL Tweaking

30 Dec 2008, 06:08

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
 
Tony
Posts: 15
Joined: 22 Nov 2008, 22:58

30 Dec 2008, 09:02

Hi kk_madiraju

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

regards

Tony
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

30 Dec 2008, 10:37

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.
 
kk_madiraju
Topic Author
Posts: 8
Joined: 30 Dec 2008, 06:02

02 Jan 2009, 22:23

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
 
User avatar
carter2
Experienced
Posts: 206
Joined: 13 Oct 2008, 13:00

03 Jan 2009, 09:49

I suppose a quick fix for just now would be to put a blank/empty index.htm in the content folder.
 
tomrock
Experienced
Posts: 51
Joined: 13 Mar 2007, 09:11

03 Jan 2009, 11:48

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.
 
kk_madiraju
Topic Author
Posts: 8
Joined: 30 Dec 2008, 06:02

03 Jan 2009, 16:07

Thanks a ton. I tried Second one and it worked for me.