Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-10-13 15:48:35

padansk
New Member
Registered: 2008-09-11
Posts: 3

Resrticting access to the textpattern directory

Does anyone have a method for ipaddress restricting access to the /textpattern directory and login to the admin panel without breaking access to the sub parts (CSS etc).
I tried ip restriction via the apache2 virtual host but this breaks the access the CSS config file.
Does moving the css out of the /textpattern directory cause other problems with the core of the system.

Any help appreciated.

Padansk

Offline

#2 2008-10-13 19:08:38

juanjonavarro
Plugin Author
From: Valencia, Spain
Registered: 2005-05-16
Posts: 485
Website

Re: Resrticting access to the textpattern directory

You can use rvm_css to serve the css as a static file.

Offline

#3 2008-10-13 19:11:12

beechy
Member
Registered: 2006-03-02
Posts: 92

Re: Resrticting access to the textpattern directory

Is there anything else that might break by ip restricting access to the textpattern folder other than the sites css?

Offline

#4 2008-10-13 19:24:05

juanjonavarro
Plugin Author
From: Valencia, Spain
Registered: 2005-05-16
Posts: 485
Website

Re: Resrticting access to the textpattern directory

I think that every other request is routed to index.php.

Offline

#5 2008-10-13 19:26:17

beechy
Member
Registered: 2006-03-02
Posts: 92

Re: Resrticting access to the textpattern directory

thanks for the fast response will try out rvm_css

Offline

#6 2008-10-13 19:56:26

padansk
New Member
Registered: 2008-09-11
Posts: 3

Re: Resrticting access to the textpattern directory

thanks, we’ll check it out.

padansk

Offline

#7 2008-10-13 20:57:11

variaas
Plugin Author
From: Chicago
Registered: 2005-01-16
Posts: 402
Website

Re: Resrticting access to the textpattern directory

silly question but when doing ip restriction, wouldn’t including 127.0.0.1 allow for the css file to be accessed?

Offline

#8 2008-10-13 21:02:18

juanjonavarro
Plugin Author
From: Valencia, Spain
Registered: 2005-05-16
Posts: 485
Website

Re: Resrticting access to the textpattern directory

No, the css is accesed from the client, not from the server.

Offline

#9 2008-10-16 13:59:10

beechy
Member
Registered: 2006-03-02
Posts: 92

Re: Resrticting access to the textpattern directory

Would ip restricting access to the textpattern folder break the RSS feed in any way?

Offline

Board footer

Powered by FluxBB