|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
Marksss Smarty n00b
Joined: 30 Nov 2004 Posts: 2
|
Posted: Tue Nov 30, 2004 9:17 pm Post subject: ISP ohne smarty support |
|
|
Hallo zusammen,
da mein Webspace-Anbieter leider nicht die smarty lib standardmäßig unterstützt und ich auch keine Rechte für das System bekomme, habe ich smarty folgendermaßen installiert:
/www.mydomain.com/lib/smarty/
/www.mydomain.com/test/templates/
/www.mydomain.com/test/templates_c/
Damit smarty auf den Ordner templates_c/ zugreifen kann, mußte ich diesen mit chmod 777 versehen. Ich habe jedoch beide Verzeichnisse (templates/ und templates_c/) mit einer .htaccess geschützt.
Meine Frage ist ob was gegen diese Installation spricht (auch in Bezug auf security) oder ob diese Variante ohne Probleme für den produktiven Einsatz geeignet ist ?!
Über Informationen würde ich mich sehr freuen.
Gruß und danke,
Marksss |
|
Back to top |
|
T. Smarty Regular
Joined: 22 Aug 2004 Posts: 69 Location: AT
|
Posted: Wed Dec 01, 2004 8:43 am Post subject: |
|
|
Ich denke mal, das müsste so funktionieren, aber eigentlich müsste auch chmod 770 ausreichen, für templates_c. Wenn du caching aktivierst musst du das für den cache ordner auch eistellen (afaik).
Wegen htaccess - es kann dann halt keiner auf deine Ordner zugreifen, der die Rechte nicht hat, auch gut. Musst halt die Rechte richtig vergeben. _________________ Oppossom - Heavy rock from austria |
|
Back to top |
|
|
|
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 vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|