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 ? |
|

Posts: 2138
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]
Posts: 22888
Can you show me an example on the web of this behavior? I truly don't understand
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 68
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.
Posts: 2138
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
Posts: 16503
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
Posts: 2138
@nivekiam: I can open http://www.justwildlife.com/gallery3/ just fine... aside from no content is currently available...
Posts: 68
SergeD
Earlier I disabled Tag Cloud. Now I've enabled it and after enabling it is not showing the albums and sidebar.
Posts: 2138
Did you try version of tag_cloud I have included in http://gallery.menalto.com/node/91519?page=5 ?
Posts: 68
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.
Posts: 2138
i do not know what the problem is then
i am on latest git and it work for me