[Solved] Error on installation, the folder /admin/ not created

Post Reply
User avatar
thomasbnt
Jr. Bludit
Posts: 6
Joined: Fri Nov 03, 2017 3:40 am
Location: France
Contact:

Hello, I'm new.
On my dedicated server, I would like install the CMS and create my self-blog.
But when I install completely, when I went to panel admin, the folder doesn't exist.. :o

Informations
Apache2
CloudFlare DNS
PHP 7
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

There is no folder /admin.

Please check
  • if the module mod_rewrite is installed and enabled,
  • if the file .htaccess in the directory of the installation exists.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
User avatar
thomasbnt
Jr. Bludit
Posts: 6
Joined: Fri Nov 03, 2017 3:40 am
Location: France
Contact:

Edit : all posts not exist and 404 error page :?

I will try to reinstall mod_rewrite but I already installed it, I see it in my php.info()
User avatar
thomasbnt
Jr. Bludit
Posts: 6
Joined: Fri Nov 03, 2017 3:40 am
Location: France
Contact:

He already installed and activated on apache2 :/
it was the same mistake with WordPress permalinks
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

Does it now work?
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
User avatar
thomasbnt
Jr. Bludit
Posts: 6
Joined: Fri Nov 03, 2017 3:40 am
Location: France
Contact:

No
Can you send me your configuration

Code: Select all

apache2.conf
(in /apache2/) and

Code: Select all

000-default.conf
(in /sites-available/) ?
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

Is it a local installation?

I'm not an server expert, and have no access to my server configuration. Only to a local server with WAMPP.

Perhaps there is somebody in Gitter that has more knowledge:

https://gitter.im/bludit/support
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
User avatar
diego
Site Admin
Posts: 773
Joined: Sat May 16, 2015 2:53 pm
Been thanked: 1 time
Contact:

Hi
- Check if you have the file .htaccess on the root where you install Bludit.
- Check if your virtual host is defined in that directory
- mod_rewrite is for Apache not for PHP, if you install the module for sure you need to restart the service Apache.

Take a look.
http://www.iasptk.com/enable-apache-mod ... 14-04-lts/

Regards
User avatar
thomasbnt
Jr. Bludit
Posts: 6
Joined: Fri Nov 03, 2017 3:40 am
Location: France
Contact:

No is in production.

( https://blog.thomasbnt.fr/ )

EDIT:

.htaccess contain :

Code: Select all

AddDefaultCharset UTF-8

<IfModule mod_rewrite.c>

# Enable rewrite rules
RewriteEngine on

RewriteBase /websites/

# Deny direct access to .txt files
RewriteRule ^bl-content/(.*)\.txt$ - [R=404,L]

# All URL process by index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*) index.php [PT,L]

</IfModule>

apache2.conf contain :

Code: Select all

<Directory /home/websites>
       Options +ExecCGI 
       Options Indexes FollowSymLinks MultiViews
       AllowOverride None
       Require all granted
</Directory>
User avatar
thomasbnt
Jr. Bludit
Posts: 6
Joined: Fri Nov 03, 2017 3:40 am
Location: France
Contact:

Okay, thanks for you help, I will have to save this code party so that I do not have that kind of trouble.

For apache2.conf in /etc/apache2/* , /home/websites is my main directory for all sub-domains and domain.

Code: Select all

<Directory /home/websites>
       Options +ExecCGI
       Options Indexes FollowSymLinks MultiViews
       AllowOverride None
       Require all granted
       AllowOverride All
       Allow from All
</Directory>
I added

Code: Select all

AllowOverride All
Allow from All
Post Reply