We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

How to give access to a folder | Forum

Topic location: Forum home » Support » General Questions
Kostas
Kostas Jan 20 '15
How to give access to a particular folder that a script has been installed?


I know that it has to do with .htaccess editing but I don't know the code


the folder is named cloud -> www.domainname.com/cloud

The Forum post is edited by Kostas Jan 20 '15
Kostas
Kostas Jan 20 '15
current .htaccess

Options +FollowSymLinksRewriteEngine On
AddEncoding gzip .gzAddEncoding gzip .gzip<FilesMatch "\.(js.gz|js.gzip)$">  ForceType text/javascript</FilesMatch><FilesMatch "\.(css.gz|css.gzip)$">  ForceType text/css</FilesMatch>
RewriteCond %{REQUEST_URI} !^/index\.phpRewriteCond %{REQUEST_URI} !/ow_updates/index\.phpRewriteCond %{REQUEST_URI} !/ow_updates/RewriteCond %{REQUEST_URI} !/ow_cron/run\.phpRewriteCond %{REQUEST_URI} !/e500\.php#RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$  [NC]RewriteCond %{REQUEST_FILENAME} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$  [NC]RewriteRule (.*) index.php

ross Team
ross Jan 20 '15
do the search before posting anything on the forum: http://www.oxwall.org/forum/topic/3913
ross Team
ross Jan 20 '15
Kostas
Kostas Jan 20 '15
Hi ross,

I was looking at this post all the time ... it does not work for me.

My folder is cloud and the subdomain is cloud.apollon-chania.eu

br,

Kostas

The Forum post is edited by Kostas Jan 20 '15
ross Team
ross Jan 20 '15
I'm sorry I don't understand. Is oxwall installed in the subdomain cloud.apollon-chanie.eu and you want to add a folder 'cloud' in this subdomain? Or oxwall is installed in the root apollon-chaine.eu and you want your folder 'cloud' to appear like this: cloud.apollon-chanie.eu?
Kostas
Kostas Jan 20 '15
the second one
Kostas
Kostas Jan 20 '15
actually I would like to use a second script inside oxwall but it is forbitten by defaut. the second script is installed at www.apollon-chania.eu/cloud

from the post you pointed me I thought I have to make subdomain cloud in order to get this work.

ross Team
ross Jan 20 '15
Kostas, have you tried this: 


dd the following line to allow a directory (like scoopydo.com/bnt/)
RewriteCond %{REQUEST_URI} !/bnt/