Gå till huvudinnehåll

Disable clean URLs - Kunskapsbas / Deskpro Legacy - Deskpro Support

WARNING: You're browsing documentation for an older version of Deskpro. Consider upgrading to Deskpro Horizon

Disable clean URLs

Författarlista

Problem: You have enabled the "clean URLs" option that requires URL rewriting, such as Apache's mod_rewrite, but URL rewriting has stopped working and you cannot access the admin interface to turn it off. For example, if you've moved servers and the new server does not have mod_rewrite enabled.

 

Solution

You can disable the "clean URLs" option by adding a new line to the end of your /config.php:

 

$DP_CONFIG['rewrite_urls'] = false;

 

After you've done this, you will be able to use the system through the normal /index.php/ URL. For example, you can get to the admin interface via /index.php/admin/.

Hjälpfull Oanvändbar

52 av 99 personer tyckte att sidan var användbar

Posta en kommentar

Logga in eller registrera dig för att lämna en kommentar.

Behöver du en påminnelse om ditt lösenord?