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

Adding custom files and folders in your Oxwall directory - htaccess helpfull guide | Forum

dave Leader
dave Apr 22 '16

Some of us have Oxwall as are public_html root site and some of us have it as a subdomain, or addon domain.  But regardless of your set up we all may want to add files or folders to your Oxwall directory from time to time.   Here is how. 


As a security measure Oxwall will use the files it has assigned in the root of the install.  What that means is that if you look in the root install, Oxwall in simple terms is aware of those files listed which came with Oxwall.

 

Now lets say for example that you want to add a subfolder to the root named  mystuff for whatever purpose.  You need to tell Oxwall that it is OK to access the subfolder mystuff or you will get an error.

 

Lets say that you want to add a file to the new folder named mystuff/mystuff.txt  which is a text file.  You also need to tell Oxwall that is OK to access that file.

 

Let say that you want to add a addon or subdomain  mystuff.com  you also need to tell Oxwall that it is OK to access that.

 

how you do that is like this..

 

If you open your htaccess  you will see several parts.

 

the top part (as i call it because i see it as two sections basically to make it easy for me)

 

Options +FollowSymLinks

RewriteEngine On


AddEncoding gzip .gz

AddEncoding gzip .gzip

<FilesMatch "\.(js.gz|js.gzip)$">

  ForceType text/javascript

</FilesMatch>

<FilesMatch "\.(css.gz|css.gzip)$">

  ForceType text/css

</FilesMatch>


 

**(everyone remember this area right here for later, important)

 

and the bottom part

 

RewriteCond %{REQUEST_URI} !^/index\.php

RewriteCond %{REQUEST_URI} !/ow_updates/index\.php

RewriteCond %{REQUEST_URI} !/ow_updates/

RewriteCond %{REQUEST_URI} !/ow_cron/run\.php

RewriteCond %{REQUEST_URI} !/e500\.php

RewriteCond %{REQUEST_URI} !/captcha\.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


 

and that is the basic default htaccess layout

 

Now if you want to add domain, sub domains, folders, or files then this is how you tell Oxwall it is OK.

 

where you see the **(everyone remember this area right here for later, important)

make you a custom block like so 


# custom stuff



# end custom stuff 


you are going to put your custom stuff between those two comments so  you can keep it simple to view.

 

you add this section between those comments and should look like this


#custom stuff

 

#added to access custom files - sub domains or special folders
#--------
#subdomains and add on domains
#RewriteCond %{HTTP_HOST} !sub_addondomain.com$
#
# folders
#RewriteCond %{REQUEST_URI} !/folder1/
#RewriteCond %{REQUEST_URI} !/folder2/
#
# files
#RewriteCond %{REQUEST_URI} !/file1.html
#RewriteCond %{REQUEST_URI} !/file2.jpg
#RewriteCond %{REQUEST_URI} !/file3.txt


#end custom stuff

 

 the # sign tells htaccess that everything after that on the same line is a comment and it will ignore it. 


i gave the names generic names for examples but you can add as many of those statements in those particular sections as you need to.  Just remove the comment char  # from the front to make that line active.

 

So if  you add that section in between the first and second section you can tell Oxwall what is OK to use.

 

Now on the other hand..

 

If i want to add a new page called   mynewpage  to my oxwall site, then none of this matters unless your using data from a new domain/folder/file.   All you have to do is go to admin and go to pages and add the page.

 

I hope that helps.


Dave :)

The Forum post is edited by dave Jun 22 '20
dave Leader
dave Apr 22 '16
Oxwall maybe this could be a sticky :)
Oxwall Germany Club
Oxwall Germany Aug 17 '18
Topic was moved from General Chat.
Berlin
Berlin Dec 1 '21
How to fix connections to bluetooth audio devices and wireless displays in windows 10 http://fixwindows10connections.com thanks for the share this post.
Andriana Gor
Andriana Gor Jan 15 '22

 I would like to recommend the site. You may have noticed that your HP printer doesn't respond to commands or stops working in the middle of an important job.

If you're looking for HP TopShot LaserJet Pro drivers, you can find them here https://hpdriverprinters.net/ for all operating systems.

The Forum post is edited by Andriana Gor Jan 29 '22
avii
avii Jan 18 '22


I all that isolated getting something reliable and new in each post of yours that is the clarification I love wandering your page. I'm appreciative a ton and affirmation the significance of coming


http://www.pujaescort.in/


avii
avii Jan 18 '22



I genuinely thank you for the genuine records in this famous test and rely upon extra astonishing posts. Appreciate for looking at this grandness article with me. I'm concerning it on an astoundingly fundamental level! Expecting another amazing article. Best of right fortune to the producer


http://www.juhijain.co.in/


avii
avii Jan 18 '22


I like your set up and all you degree with us is goliath and astoundingly overall central. I can almost have to bookmark the site page so I can come truly here again to get you, as you have respected.


http://www.kalpanachawla.in/

http://www.callgirlsinbengaluru.com/

http://www.bangalorecallgirls.in/

http://www.pihugupta.co.in/


Alice Robinson
Alice Robinson Jan 18 '22
While a service was writing a paper for me on open source social networking platforms, I came across oxwall on the way of my research. I came to learn that it is super flexible and easy to use. Softaculous also has a theme that I'm thinking to explore. Can anyone recommend any related helpful tutorial?
ali
ali Apr 11 '23
В Арт Академи в София, децата могат да се научат на различни техники за рисуване, керамика, крафт с полимерна глина и много други изкуствени дейности. През последните години, училището се е утвърдило като един от най-добрите центрове за изкуство за деца в София. Една от големите предимства на Арт Академи е, че децата не само могат да се забавляват, но и да учат много полезни умения като търпение, точност и творческо мислене. Децата могат да се развиват в своите умения и да изразят своята индивидуалност. В Арт Академи има и опитни учители, които ще насочат децата и ще им помогнат да развият своя талант. Всички материали и оборудване, необходими за изкуството, са на разположение в училището. Арт Академи
poojapandit
poojapandit Apr 13 '23
If you are looking for a brief, no-strings-attached affair, Lucknow's 

Independent Call Girls in Lucknow are the perfect choice. These sensual women have taken it upon themselves to service specific needs. They come from all walks of life and have diverse experiences that may allow them to provide a more satisfying encounter for you.

Read on to find out more about Lucknow's beautifully diverse range of independent call girls and what they can do for you.

The Forum post is edited by poojapandit Apr 13 '23
Metro Shoes
Metro Shoes May 10 '23
Metro shoes offer their customers the highest quality women shoes, Formal shoes, Casual shoes, and Women Sandals and men's. Get the best available men’s sandals in Pakistan, today. So, buy only the best shoes online from Metro shoes. We bring you only the highest quality men’s shoes.
Adoro
Adoro May 11 '23
Get ready to take your style to a whole new level with adoro's premium quality casual shoes! Our range of comfortable and stylish footwear is designed to keep you looking modern and confident all day long. Plus, they come in a variety of colors and designs so you can find the perfect pair for any occasion. Shop now!
Ravina Sharma
Ravina Sharma May 18 '23

[url=http://www.rihana.co.in/

[url=http://www.rihana.co.in/amravati-Escort] amravati Escort [/url]

[url=http://www.rihana.co.in/aurangabad-Escort] aurangabad Escort [/url]

[url=http://www.rihana.co.in/bhandara-Escort] bhandara Escort [/url]

[url=http://www.rihana.co.in/bid-Escort] bid Escort [/url]

[url=http://www.rihana.co.in/buldana-Escort] buldana Escort [/url]

[url=http://www.rihana.co.in/chandrapur-Escort] chandrapur Escort [/url]

[url=http://www.rihana.co.in/dhule-Escort] dhule Escort [/url]

[url=http://www.rihana.co.in/gadchiroli-Escort] gadchiroli Escort [/url]

[url=http://www.rihana.co.in/gondiya-Escort] gondiya Escort [/url]

[url=http://www.rihana.co.in/hingoli-Escort] hingoli Escort [/url]

[url=http://www.rihana.co.in/jalgaon-Escort] jalgaon Escort [/url]

[url=http://www.rihana.co.in/jalna-Escort] jalna Escort [/url]

[url=http://www.rihana.co.in/kolhapur-Escort] kolhapur Escort [/url]

[url=http://www.rihana.co.in/latur-Escort] latur Escort [/url]

[url=http://www.rihana.co.in/mumbai-Escort] mumbai Escort [/url]

[url=http://www.rihana.co.in/nagpur-Escort] nagpur Escort [/url]

[url=http://www.rihana.co.in/nanded-Escort] nanded Escort [/url]

[url=http://www.rihana.co.in/nandurbar-Escort] nandurbar Escort [/url]

[url=http://www.rihana.co.in/nashik-Escort] nashik Escort [/url]

[url=http://www.rihana.co.in/osmanabad-Escort] osmanabad Escort [/url]

[url=http://www.rihana.co.in/parbhani-Escort] parbhani Escort [/url]

[url=http://www.rihana.co.in/pune-Escort] pune Escort [/url]

[url=http://www.rihana.co.in/raigarh-Escort] raigarh Escort [/url]

[url=http://www.rihana.co.in/ratnagiri-Escort] ratnagiri Escort [/url]

[url=http://www.rihana.co.in/sangli-Escort] sangli Escort [/url]

[url=http://www.rihana.co.in/satara-Escort] satara Escort [/url]

[url=http://www.rihana.co.in/sindhudurg-Escort] sindhudurg Escort [/url]

[url=http://www.rihana.co.in/solapur-Escort] solapur Escort [/url]

[url=http://www.rihana.co.in/thane-Escort] thane Escort [/url]

[url=http://www.rihana.co.in/wardha-Escort] wardha Escort [/url]

[url=http://www.rihana.co.in/washim-Escort] washim Escort [/url]

[url=http://www.rihana.co.in/yavatmal-Escort] yavatmal Escort [/url]

ali
ali May 27 '23
I want to take a moment to share my experience with LinkBuilder.info, an exceptional link building agency that has truly transformed my website's traffic. In today's competitive digital landscape, driving organic traffic is crucial for online success, and LinkBuilder.info has proven to be a game-changer. With their wealth of expertise and a solid track record, LinkBuilder.info stands out as a leading player in the industry. Their team of seasoned professionals understands the intricate dynamics of link building and implements proven strategies aligned with the latest SEO best practices. What sets them apart is their commitment to a comprehensive and tailored approach. They take the time to analyze your website's specific needs, industry, and target audience, crafting a customized link building strategy that yields exceptional results. By leveraging their extensive network of high-quality, authoritative websites relevant to your niche, LinkBuilder.info secures powerful backlinks that not only drive organic traffic but also enhance your website's online reputation.<a href="https://linkbuilder.info">https://linkbuilder.info</a>;


Oliver Jack
Oliver Jack May 30 '23

I advise consulting official sources like the "Yeh Rishta Kya Kehlata Hai" website, social media sites, or watching the episodes on the original airing platform to remain current with the show's ongoing plotlines and developments. These resources will provide you the most precise and recent details about the impending plotlines and developments of the programme.






Mehmood Alam
Mehmood Alam Jul 9 '23
I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post. เซ็กซี่บาคาร่า คือ
famide
famide Jul 9 '23
Really I enjoy your site with effective and useful information. It is included very nice post with a lot of our resources.thanks for share. i enjoy this post. 카지노 솔루션
jajos38525
jajos38525 Jul 11 '23
"Looking for a reliable solution to combat pet-related pollutants in your home? Our top 10 air purifiers for pets offer exceptional performance, effectively removing allergens and airborne particles, promoting a healthier environment for you and your furry family members." Best Purifier for Pet Odor
Mehmood Alam
Mehmood Alam Jul 12 '23
Thanks for sharing the post.. parents are worlds best person in each lives of individual..they need or must succeed to sustain needs of the family. สล็อต777
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 ... » »»