Rick remember when we spoke the other day an you shared your htaccess with me, i told you if you added any sub folders, add on domains, folders or files to the root you would need to tell oxwall that it is there and you wold need to add those to your htaccess. You told me that you did not plan to do that at this point, so i did not add that section of code to your htaccass for that reason.
Also when you add a page thru the admin panel pages section you do not have to add them to your htaccess, that was not what i was referring to.
Also i suppose your working things out with paul now, i thought since last we spoke we were going to work together. But this is ok rick, no problem bud, as long as your taken care of paul is good people, i just dont want two programmers working on the same files.
Rick i know your getting confused here this i hope will ease your confusion a bit i hope and ill try to address this in very simple terms so that everyone can understand who might read this.
As a security measure Oxwall will use the files it is assigned in the root of the install. What that means is that if you look in the root install, oxwall 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 root named 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>
**(rick 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} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$ [NC]
RewriteRule (.*) index.php
and thats the basic default htaccess
Now if you want to add domain, sub domains, folders, files the is how you tell oxwall it is ok.
where you see the ** rick remember this area text.
you add this section
#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 of add
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.
you dont have a index.html in there, that display of the index is normal. Where is your index.html
there are two ways to create a page in admin, are you creating a new name for a page or are you using the direct link method
if you just create mypagestuff then you would edit that in pages and add your html inside of that, and that becomes your index.html
if you use the external method then you need to have your own index.html in that dir