Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 17. Oct 2017, 07:49

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: chmod
PostPosted: 27. Jan 2009, 10:42 
Offline

Joined: 26. Jan 2009, 13:31
Posts: 13
I had to make the twg folder 777 in order to get the gallery to work. Should I now put a .htaccess in this folder?


Top
 Profile  
 
 Post subject:
PostPosted: 28. Jan 2009, 03:04 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10494
always a good idea. Have you read howto 1?

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 28. Jan 2009, 10:33 
Offline

Joined: 26. Jan 2009, 13:31
Posts: 13
I uploaded my .htaccess file twg folder and now I cannot call index.php.

the .htaccess file was as follows:

-- start
<Files .htaccess>
order allow,deny
deny from all
</Files>

IndexIgnore */*
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www.)?domain.com/.*$ [NC]
RewriteRule .(gif|jpg|txt|xml|png)$ - [F]
-- end

I then overwrote that file with the .htaccess file provided in the TWG .htaccess zip file and all is OK.

Please advise way the first didnt work?


Top
 Profile  
 
 Post subject:
PostPosted: 30. Jan 2009, 00:10 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10494
what do you like? I should correct the .htaccess file you where trying?

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 30. Jan 2009, 00:24 
Offline

Joined: 26. Jan 2009, 13:31
Posts: 13
Hi There -

The first one I tried was the one I posted above with the domain name changed for my site. After which I could not load ../twg/Index.php.

I then loaded the .htaccess file you provided in your zip file and let me access as normal.

Is the .htaccess file you provided adequate for security for my site, or do I need to get the other version above to work?


Top
 Profile  
 
 Post subject:
PostPosted: 1. Feb 2009, 04:06 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10494
I don't know your site ;).

my .htaccess disallows the access of the txt files.

The script itself is already secure because each parameter is check for possible attacks.

- Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO