htacces problem, and _basedir restriction in effect

Vyřešeno1.09K zhlédnutíWebSite
0

Hello!

I have manually installed wordpress on alias domain regal-tech.sk

After install some issues ocured.

*_basedir restriction in effect. File(/) is not within the allowed path(s): (/data/web/virtuals/259032/virtual) in /data/web/virtuals/259032/virtual/www/domains/regal-tech.sk/wp-admin/options-permalink.php on line 147

*_basedir restriction in effect. File(/) is not within the allowed path(s): (/data/web/virtuals/259032/virtual) in /data/web/virtuals/259032/virtual/www/domains/regal-tech.sk/wp-admin/includes/misc.php on line 266

*If your .htaccess file was writable, we could do this automatically, but it isn’t so these are the mod_rewrite rules you should have in your .htaccess file. Click in the field and press CTRL + a to select all.

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

What can I do to repair this?

Thanks in advance

Role: Zákazník
Otázka je uzamčena pro nové odpovědi.
PZ305390 Vybral nejlepší odpověď 8. 4. 2021
0
53.63K Odpověď od WEDOS Internet, a.s. 0 Comments

Hello,

do you have .htaccess file in /www/domains/regal-tech.sk/ ? If not, you have to create it a write inside following code

# BEGIN WordPress
 RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
 # END WordPress

Role: Podpora Web: https://stackoverflow.com/ Vizitka: Roses are Red, Violets are Blue Unexpected '{' on line 32.
JŠ255861 Odpověděl na otázku 6. 4. 2021
Prohlížíte 1 ze 4 odpovědí, klikněte zde pro zobrazení všech odpovědí.