Page 1 of 1
[closed]cms_stylesheet with blocked access to tmp
Posted: Sun Jun 17, 2012 10:55 am
by aleksanderlech
Hi there,
how can I use CMS MS without access to tmp folder - problem is that service provider (home.pl) blocks web acces to this folder.
Previously, I was using {stylesheet} instead of (cms_stylesheet} and everything was ok. It's impossible in last CMS version (1.10.3 fresh install)
Problem was discussed already there
http://forum.cmsmadesimple.org/viewtopi ... =3&t=51812
And for me there is no way to change hosting provider, is there any other way to use stylesheets instead of hadrcoding path to stylesheet files?
Regards
Aleksander
Re: cms_stylesheet with blocked access to tmp
Posted: Sun Jun 17, 2012 11:21 am
by SimonJ
Why can't you make a directory called tmp? Makes no sense to me. There is nothing special about it.
Code: Select all
simon@i1501:~/Shared/Testing$ ll
total 3684
drwxr-xr-x 11 simon simon 4096 Jun 5 11:07 ./
drwxr-xr-x 14 simon simon 4096 Jun 6 07:47 ../
drwxr-xr-x 5 simon simon 4096 Jun 3 10:01 admin/
drwxr-xr-x 2 simon simon 6 Jun 3 13:59 cgi-bin/
-rwxr--r-- 1 simon simon 2156260 Jun 1 20:04 cmsmadesimple-1.10.3-english.tar.gz*
-rw-r--r-- 1 simon simon 457 Jun 3 10:06 config.php
drwxr-xr-x 2 simon simon 4096 Jun 3 10:01 doc/
-rwxr--r-- 1 simon simon 1150 Nov 6 2011 favicon_cms.ico*
-rwxr--r-- 1 simon simon 330 Nov 6 2011 fileloc.php*
-rwxr--r-- 1 simon simon 8032 Dec 10 2011 include.php*
-rwxr--r-- 1 simon simon 10685 Nov 6 2011 index.php*
drwxr-xr-x 11 simon simon 4096 Jun 3 10:02 lib/
-rwxr--r-- 1 simon simon 955 Nov 6 2011 moduleinterface.php*
drwxr-xr-x 14 simon simon 4096 Jun 4 13:50 modules/
drwxr-xr-x 2 simon simon 4096 Jun 3 10:01 plugins/
-rwxr--r-- 1 simon simon 2535 Nov 6 2011 stylesheet.css*
drwxr-xr-x 5 simon simon 83 Jun 3 10:01 tmp/
drwxr-xr-x 7 simon simon 121 Jun 3 10:32 uploads/
Re: cms_stylesheet with blocked access to tmp
Posted: Sun Jun 17, 2012 12:03 pm
by calguy1000
Find a new host. CMSMS does not support mod_security, and specifically CMSMS does not support or adapt to some arbitrary hosts arbitrary firewall rules... and that's what they are, arbitrary. There's absolutely no reason that they should not allow access to the tmp directory.
Issue closed.
Re: cms_stylesheet with blocked access to tmp
Posted: Sun Jun 17, 2012 8:30 pm
by Dr.CSS
The stylesheet call isn't the only thing that uses that folder so a new host or get them to change the policy on your site is your only option...
Re: cms_stylesheet with blocked access to tmp
Posted: Sun Jun 17, 2012 10:51 pm
by mcDavid
Are you shure you're not confusing CMSMS's tmp folder with the operating systems /tmp folder?
Re: cms_stylesheet with blocked access to tmp
Posted: Mon Jun 18, 2012 6:07 am
by aleksanderlech
I'm not doing anything with tmp folder it was created during install.
Callguy's right, issue closed, I'll stay with hardcoded paths right now, and I hope one day they change their security policies.
Thank you everybody for your help.
Regards
Aleksander