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

404 Sign up error | Forum

IB
IB Jul 20 '13
Hi,
I have some rare occasions where the customer can't sign up.
The vast majority of people have no issues, and sign up fine.
But on occasion they get this error:

Forbidden

You don't have permission to access /base/join/join-form-submit/ on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


I've been looking at my .htaccess file, and I was wondering what exactly should be on it unmodified.
I compared my .htaccess file on my server, with the one from a fresh download, and there are some differences.

The one from the server has:

# Inserted By Customer Control Panel
SetENV PHPRC /home/xxxxxxx/public_html

Options +FollowSymLinks
RewriteEngine On
RewriteBase /

AddEncoding gzip .gz
AddEncoding gzip .gzip
<FilesMatch "\.(js.gz|js.gzip)$">
  ForceType text/javascript
</FilesMatch>
<FilesMatch "\.(css.gz|css.gzip)$">
  ForceType text/css
</FilesMatch>


RewriteCond %{REQUEST_FILENAME} !-f
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


The one from the fresh download has:

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>


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

Is it safe to replace the contents of my current .htaccess with the contents of the new downloaded file?

Would it solve the download problem?
Alia Team
Alia Jul 22 '13
IB, before doing anything with your .htaccess file

1. check your server's error logs.
2. contact your hosting company asking for possible reasons of forbidden error.
IB
IB Aug 1 '13
My error logs are HUGE!!
Every minute or less I get 404 errors.  That's really bad.
The vast majority are "File does not exist" errors 404 and sometimes 500.

examples:

/home/#####/public_html/404.shtml

File does not exist: /home/#######/public_html/404.shtml, referer: http://www.connectinghomeschoolers.com/index

File does not exist: /home/######/public_html/404.shtml

Do I need to manually create a 404 error page?

What I don't get is that I'm getting errors saying that Files are missing, yet I'm using one of the templates from Oxwall.

How can I get rid of all my error logs?  they are extreme.
The Forum post is edited by IB Aug 1 '13
Alia Team
Alia Aug 5 '13
IB, you need to look only for those errors where referrer URL is join page.

Regarding "File does not exist: /home/######/public_html/404.shtml".
Those are common error. You can create your own custom 404 page.
Error that file doesn't exist, means that system for some reason was not able to reach needed page. When system can't find the page it redirects to 404 one.


Going back to your original issue.
You will need to track your error log, and see whether anything related to Join page comes up.
You can also contact your hosting company and ask for possible reasons of "Forbidden error".
In most of the cases this error is server related.