Comments (3)
2 thoughts:
- 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. - Did you try to clear Mautic's cache? https://mautic.org/docs/en/tips/troubleshooting.html
from api-library.
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.
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)
- API error The response has unexpected status code (0) HOT 4
- Contact API Json deserialize issue
- Cloned campaign not any events HOT 1
- API contact edit method is not working HOT 2
- Allow running API library tests against specific `mautic/mautic` PR
- [Feature request] Delete form submission via the Forms API
- Response 401 when creating or editing a segment with filters (when using oauth)
- ERROR: InvalidArgumentException: The template "MauticFormBundle:Field:plugin.recaptcha.html.php" does not exist
- What is the array of event type to filter for api GET /contacts/activity?
- Set UTM tags on creating an E-Mail HOT 1
- I get Class 'Mautic\\Auth\\ApiAuth' not found since updated HOT 1
- Usage of newer psr/log (v2 & v3) HOT 3
- Upgrade from 3.0.0 to 3.1.0 issue with psr/log requirement HOT 14
- How to correctly add contact to segment using api-library HOT 1
- Deprecated error on isOauth1 function using php8.1
- Mautic API is not working HOT 2
- How to set the last_active field? And is there any way to set the dateAdded/dateModified/dateIdentified fields? HOT 1
- Deprecated strlen(): Passing null to parameter #1 ($string) of type string is deprecated PHP 8.1.12 HOT 2
- Intermittent 400 errors when attempting token refresh HOT 1
- I have upgraded to Laravel 9 & PHP 8.1 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from api-library.