#Static

Please how to create html sections on anahita 4.1

There are some examples included in the Shiraz template that you can adopt in your custom template. https://github.com/anahitasocial/anahita/tree/master/src/site/templates/shiraz/html/com_html/content The static pages are simple php pages which means you have full control to code them in html, javascript, css, and php. They also give you complete access to the Anahita API so you can make...
alex hume liked this

Our NGINX Configuration

Here's a snippet for our nginx configuration that does the SEF rewrite similar to .htaccess

server {

listen 80; server_name www.anahitapolis.com;

access_log /var/log/nginx/anahitapolis.com-access.log; error_log /var/log/nginx/anahitapolis.com-error.log;

large_client_header_buffers 4 8k; # prevent some 400 errors

root /var/www/anahitapolis.com; index index...

Our Nginx Configuration

Here's a snippet for our nginx configuration that does the SEF rewrite similar to .htaccess

server {

listen 80; server_name www.anahitapolis.com;

access_log /var/log/nginx/anahitapolis.com-access.log; error_log /var/log/nginx/anahitapolis.com-error.log;

large_client_header_buffers 4 8k; # prevent some 400 errors

root /var/www/anahitapolis.com; index index.php index.html; fastcg...

Powered by Anahita