How do I Hide Gallery Location ?

micrographics

Joined: 2010-02-18
Posts: 68
Posted: Fri, 2010-03-19 13:29

I want to hide the location of Gallery from Guest so that when User enter just web address like www.abc.com or so, it automatically open the gallery without showing the location in address bar ?

Please help ?

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2138
Posted: Fri, 2010-03-19 15:04

what do you mean by locaton?

no /gallery3 in url - change your domain to use <root>/gallery3 as a site location url instead of just <root>
if you want to hide index.php notation uncomment Rewrite rules in .htaccess under [Enable short urls in Gallery 3]

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22888
Posted: Fri, 2010-03-19 14:38

Can you show me an example on the web of this behavior? I truly don't understand

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
micrographics

Joined: 2010-02-18
Posts: 68
Posted: Sat, 2010-03-20 03:08

Hi Serge

I uncommented the following section in .htaccess of gallery3 folder

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /gallery3
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?kohana_uri=$1 [QSA,PT,L]
RewriteRule ^$ index.php?kohana_uri=$1 [QSA,PT,L]
</IfModule>

After this if I type just justwildlife.com in address bar, then I get following error :

The website declined to show this webpage
HTTP 403
Most likely causes:
•This website requires you to log in.

What you can try:
Go back to the previous page.

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2138
Posted: Sat, 2010-03-20 03:16

:) interesting combination of my theme and fisheye menu

your url is http://www.justwildlife.com/gallery3/ and not http://www.justwildlife.com/
by uncommenting code above you would not see http://www.justwildlife.com/gallery3/index.php part only
if you have access to your DNS settings, you would also need to do step one I have mentioned.
I do not know if it is possible with your provider

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sat, 2010-03-20 03:24
Quote:
Directory Listing Denied
This Virtual Directory does not allow contents to be listed.

Hmm, that looks like an IIS error message. Ah yes, your server is running IIS6. Windows isn't supported, neither is IIS and I'm pretty sure you can't use Apache's rewrite rules in .htaccess in IIS6 and older unless the server is running 3rd party software or running IIS7.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2138
Posted: Sat, 2010-03-20 04:01

@nivekiam: I can open http://www.justwildlife.com/gallery3/ just fine... aside from no content is currently available...

 
micrographics

Joined: 2010-02-18
Posts: 68
Posted: Mon, 2010-03-22 03:29

SergeD

Earlier I disabled Tag Cloud. Now I've enabled it and after enabling it is not showing the albums and sidebar.

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2138
Posted: Mon, 2010-03-22 03:56

Did you try version of tag_cloud I have included in http://gallery.menalto.com/node/91519?page=5 ?

 
micrographics

Joined: 2010-02-18
Posts: 68
Posted: Mon, 2010-03-22 06:00

Serge D,

I just downloaded the Tag_Cloud version mentioned by you on Page 5 of this thread but the results are same.

I'm not able to view the website now.

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2138
Posted: Mon, 2010-03-22 06:24

i do not know what the problem is then
i am on latest git and it work for me