View Issue Details

IDProjectCategoryView StatusLast Update
0001368OXID eShop (all versions)1. ----- eShop frontend -----public2012-12-10 14:37
Reporterruediger Assigned To 
PriorityhighSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.1.6 revision 22740 
Fixed in Version4.2.0 revision 23610 
Summary0001368: EXCEPTION_LOG.txt stored to the wrong directory & robots.txt
DescriptionThat the shop writes an EXCEPTION_LOG.txt is a very good idea. That it writes it to a directory that usually (for a good reason) is NOT-writable for the webserver-user is a bad idea. To publish in the robots.txt the information that there is a file which should please not be indexed makes even less sense.

And this in .htaccess tries to cover the mistake ;-)
<FilesMatch "(EXCEPTION_LOG\.txt|\.log$|\.tpl$)">

=> I'd suggest you introduce the directory "logs" again, lock it for unauthorised access and write all stuff you think you need to write there, of course only stuff that's not suitable for "tmp". The administration of permissions on file-base sucks.
TagsNo tags attached.
Theme
BrowserAll
PHP Version5.2.6
Database Version5.0.33

Activities

arvydas_vapsva

2009-10-20 13:04

reporter   ~0001930

introduced "log/" folder and oxUtils::writeToLog( $sLogMessage, $sLogFileName );