In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
685 [In-Portal CMS] Other task always 2010-04-08 23:33 2010-07-22 15:06
Dmitry  
alex  
normal  
closed  
fixed  
 
none 5.1.0-B1  
http://groups.google.com/group/in-portal-dev/browse_thread/thread/6af04df2ce74a492
Minor changes by moving .htaccess and cache.sh files
0
0000685: Moving .Htaccess and Cache.sh files to more suable location
Required changed:

1. Move /tools/.htaccess to /.htaccess (root of installation)

2. Create proper .htaccess file with DENY based in file types

3. Move and rename /system/cache/clean.sh to /tools/clear_cache.sh AND updated paths inside!!

4. Update wording of "Delete Compiled Templates" (in Admin->Tools->System tools) to "Clear Templates Cache".
Issue History
2010-07-22 15:06 alex Note Added: 0002542
2010-07-22 15:06 alex Status resolved => closed
2010-04-28 06:40 alex Note Added: 0002011
2010-04-28 06:39 alex Developer Dmitry => alex
2010-04-28 06:38 alex Note Added: 0002010
2010-04-28 06:38 alex Status reviewed and tested => resolved
2010-04-28 06:38 alex Fixed in Version => 5.1.0-B1
2010-04-28 06:38 alex Resolution open => fixed
2010-04-28 06:38 alex Changeset attached 5.1.x r13456
2010-04-27 16:28 Dmitry Change Log Message => Minor changes by moving .htaccess and cache.sh files
2010-04-27 16:23 Dmitry Note Added: 0001987
2010-04-27 16:23 Dmitry Status needs testing => reviewed and tested
2010-04-27 16:22 Dmitry Developer alex => Dmitry
2010-04-27 16:22 Dmitry Status needs work => needs testing
2010-04-12 18:34 Dmitry Note Added: 0001872
2010-04-12 18:34 Dmitry Assigned To !COMMUNITY => alex
2010-04-12 18:34 Dmitry Status needs testing => needs work
2010-04-12 14:18 alex Note Added: 0001863
2010-04-12 14:18 alex Assigned To => !COMMUNITY
2010-04-12 14:18 alex Developer => alex
2010-04-12 14:18 alex Status active => needs testing
2010-04-12 14:14 alex Changeset attached 5.1.x r13379
2010-04-12 13:59 alex Changeset attached 5.1.x r13377
2010-04-12 13:53 alex Changeset attached 5.1.x r13376
2010-04-08 23:36 Dmitry Type bug report => task
2010-04-08 23:33 Dmitry New Issue
2010-04-08 23:33 Dmitry Reference => http://groups.google.com/group/in-portal-dev/browse_thread/thread/6af04df2ce74a492

Notes
(0001863)
alex   
2010-04-12 14:18   
Since at 99% task was about file moving, that can't be properly reflected in patch, I've commited it straight away.

Please test also, that both "in-portal" and all it's profile for them to include .htaccess in top folder.
(0001872)
Dmitry   
2010-04-12 18:34   
Patch tested and Repository Reviewed.


The following issues:


1. Didn't see .htaccess in Directory profile for 5.1.x branch:

http://source.in-portal.org/profiles/in-portal.directory/branches/5.1.x/


2. Adjust clear_cache.php so it looks the following, otherwise you'll be getting warnings from Linux:

cd ../system/cache/
find ./ -maxdepth 1 -not -name "CVS" -not -name ".svn" -not -name ".htaccess" -type d -o -name "debug_*" | xargs rm -rf

I have checked it - it has correct results.


The rest is okay - you can adjust and commit at the same time.
(0001987)
Dmitry   
2010-04-27 16:23   
Tested okay.

Please commit after making the changes posted above.
(0002010)
alex   
2010-04-28 06:38   
Fix committed to 5.1.x branch. Commit Message:

Fixes 0000685: Moving .Htaccess and Cache.sh files to more suable location
(0002011)
alex   
2010-04-28 06:40   
Reminder sent to: Dmitry

I see you have changed more then one task status to bring it to "reviewed and tested" status. This way you also changed Developer to yourself.

Maybe we should consider changing status change rules.
(0002542)
alex   
2010-07-22 15:06   
Closing, since 5.1.0 release has been released.