Coder Social home page Coder Social logo

Comments (3)

escopecz avatar escopecz commented on May 20, 2024

2 thoughts:

  1. If your Mautic needs the /index.php/ part in the URL to run, then your .htaccess or mod_rewrite or virtual host config is not correct.
  2. Did you try to clear Mautic's cache? https://mautic.org/docs/en/tips/troubleshooting.html

from api-library.

aravintha avatar aravintha commented on May 20, 2024

Hi Escopcz,

Thanks for your reply,
Cleared the cache from mautic folder.

This is my .htaccess file what can I do here to change the virtual host
`

 <IfModule mod_rewrite.c>
RewriteEngine On


RewriteCond %{HTTP:Authorization} .+
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]


RewriteCond %{REQUEST_URI}::$1 ^(/.+)/(.*)::\2$
RewriteRule ^(.*) - [E=BASE:%1]


RewriteCond %{ENV:REDIRECT_STATUS} ^$
RewriteRule ^index\.php(/(.*)|$) %{ENV:BASE}/$2 [R=301,L]


RewriteCond %{REQUEST_FILENAME} -f
RewriteRule .? - [L]


RewriteRule .? %{ENV:BASE}/index.php [L]
<IfModule !mod_rewrite.c>
<IfModule mod_alias.c>
 RedirectMatch 302 ^(?!/(index\.php|index_dev\.php|app|addons|plugins|media|upgrade))(/(.*))$ /index.php$2
    
</IfModule>
</IfModule>
<IfModule mod_php5.c> 
php_value always_populate_raw_post_data -1

`

from api-library.

escopecz avatar escopecz commented on May 20, 2024

That's a server configuration. Try to find some tutorial which fits your server. For example https://www.digitalocean.com/community/tutorials/how-to-set-up-mod_rewrite

from api-library.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.