This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

steve63240
steve63240

Hi This is my first time installing OctoberCMS and like what I see so far. Everything seemed to load fine but now I have a 404 when I visit http://79.170.40.54/octobercms.je/backend/ or http://79.170.40.54/octobercms.je/ Please can someone offer some guidance? Thanks

mjauvin
mjauvin

Did you make any changes to the config files since it first worked?

The more details you can give, the more chances we can help.

steve63240
steve63240

Hi, To clarify when I say "it worked" I meant just the install process of the CMS, I successfuly reached a page that had an admin and standard URL links. However when I clicked either I got the 404. The webhost has suggested it could be the .htaccess file and here is a copy. Appreciate anything you can assist with. Thanks Steve

<IfModule mod_rewrite.c>

<IfModule mod_negotiation.c>
    Options -MultiViews
</IfModule>

RewriteEngine On

##
## You may need to uncomment the following line for some hosting environments,
## if you have installed to a subdirectory, enter the name here also.
##

"RewriteBase /var/www/html/octobercms/" => # RewriteBase

##
## Uncomment following lines to force HTTPS.
##
# RewriteCond %{HTTPS} off
# RewriteRule (.*) https://%{SERVER_NAME}/$1 [L,R=301]

##
## Black listed folders
##
RewriteRule ^bootstrap/.* index.php [L,NC]
RewriteRule ^config/.* index.php [L,NC]
RewriteRule ^vendor/.* index.php [L,NC]
RewriteRule ^storage/cms/.* index.php [L,NC]
RewriteRule ^storage/logs/.* index.php [L,NC]
RewriteRule ^storage/framework/.* index.php [L,NC]
RewriteRule ^storage/temp/protected/.* index.php [L,NC]
RewriteRule ^storage/app/uploads/protected/.* index.php [L,NC]

##
## White listed folders
##
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} !/.well-known/*
RewriteCond %{REQUEST_FILENAME} !/storage/app/uploads/.*
RewriteCond %{REQUEST_FILENAME} !/storage/app/media/.*
RewriteCond %{REQUEST_FILENAME} !/storage/temp/public/.*
RewriteCond %{REQUEST_FILENAME} !/themes/.*/(assets|resources)/.*
RewriteCond %{REQUEST_FILENAME} !/plugins/.*/(assets|resources)/.*
RewriteCond %{REQUEST_FILENAME} !/modules/.*/(assets|resources)/.*
RewriteRule !^index.php index.php [L,NC]

##
## Block all PHP files, except index
##
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} \.php$
RewriteRule !^index.php index.php [L,NC]

##
## Standard routes
##
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]

</IfModule>

mjauvin
mjauvin

What is the DocumentRoot for your virtual host ? Did you install october in a sub-folder from that DocumentRoot and what is it? If yes, why did you install in a sub-folder?

steve63240
steve63240

Hi I installed the folders and files into public_html and did not add a subfolder. Thanks Steve

mjauvin
mjauvin

try commenting out the following line:

RewriteBase /var/www/html/octobercms/" => # RewriteBase
steve63240
steve63240

Hi I have tried with a single # and then ## and still no joy.

#"RewriteBase /var/www/html/octobercms/" => # RewriteBase

Thanks

mjauvin
mjauvin

In any case, your URL is wrong... you cannot have "/octobercms.je/" in the URL, where does that come from!?

steve63240
steve63240

That is just a domain reference for dev and testing on the webserver, I just named it that to test octobercms. Another example dev site with similar URL is http://79.170.44.77/lifeboatdevb.je/ Thanks

steve63240
steve63240

Does this cms work in a test/development environment or does it need to be a live URL? Thanks

mjauvin
mjauvin

I guess it needs a live URL.

JeffGoldblum
JeffGoldblum

Does your vhost configuration have AllowOverride all set?

steve63240
steve63240

As soon as I have heard back from the webhost I will advise. Thanks

1-13 of 13

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.