Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/09/2014 in all areas

  1. It is the intended behavior for attachments to not be sent out via email, and instead users should login to view the ticket and download them. A new email template tag may be useful to determine whether there are any attachments, and the template can be updated to indicate that the user should view the ticket in the UI to download the attachments. CORE-1274
    3 points
  2. ServZoo

    Nginx Rewrite

    Thanks Bit Bayou! I imagine there are just LOADS of us here! LOL For what it's worth, I figured out my issue. For some reason I overlooked the docs on setting htaccess to true. /lib/init.php file to set define("HTACCESS", true); Now, I have SEF URLS!
    3 points
  3. Paul

    Can't Change Theme

    The screenshot showing galactic theme selected, shows no theme loaded for the admin area. My guess is that your nginx configs may not be correct. Try accessing /admin/theme/theme.css?dir= in your browser. Does it load any CSS styles? This resource should be included in the admin page, the styles returned by this override the defaults to display the theme. My guess is that this isn't working for you due to some server configuration.
    2 points
  4. CORE-1272, thanks for the suggestion!
    2 points
  5. mrrsm

    Nginx Rewrite

    This is my full nginx conf on my dev install server { listen 80; server_name DOMAIN; access_log PATH; error_log PATH; root PATH; index index.php; # serve static files directly location ~* \.(jpg|jpeg|gif|css|png|js|ico|html)$ { access_log off; expires max; } # enforce NO www if ($host ~* ^www\.(.*)) { set $host_without_www $1; rewrite ^/(.*)$ $scheme://$host_without_www/$1 permanent; } # catch all error_page 404 /index.php; location ~ \.php$ { fastcgi_index index.php; fastcgi_pass php; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param SCRIPT_NAME $fastcgi_script_name; } location / { server_tokens off; client_max_body_size 20m; client_body_buffer_size 128k; try_files $uri $uri/ /index.php?$args; } } My fastcgi_params had a small change as well fastcgi_param QUERY_STRING $query_string; fastcgi_param REQUEST_METHOD $request_method; fastcgi_param CONTENT_TYPE $content_type; fastcgi_param CONTENT_LENGTH $content_length; fastcgi_param HOSTNAME $hostname; fastcgi_param SCRIPT_NAME $fastcgi_script_name; fastcgi_param REQUEST_URI $request_uri; fastcgi_param DOCUMENT_URI $document_uri; fastcgi_param DOCUMENT_ROOT $document_root; fastcgi_param SERVER_PROTOCOL $server_protocol; fastcgi_param HTTPS $https if_not_empty; fastcgi_param GATEWAY_INTERFACE CGI/1.1; fastcgi_param SERVER_SOFTWARE nginx/$nginx_version; fastcgi_param REMOTE_ADDR $remote_addr; fastcgi_param REMOTE_PORT $remote_port; fastcgi_param SERVER_ADDR $server_addr; fastcgi_param SERVER_PORT $server_port; #fastcgi_param SERVER_NAME $server_name; fastcgi_param SERVER_NAME $host; I don't see any other changes I may have made.
    2 points
  6. mrrsm

    Nginx Rewrite

    Here is my \.php section and basic rewrite section. These are working for me. I would post my entire config but it is huge right now as I have a lot of other directives for other things as well. If this doesn't help I can look a bit more after lunch and make a basic nginx config. location ~ \.php$ { try_files $uri =404; # Tweak for Nginx to work with PHP from vendors fastcgi_split_path_info ^(.+\.php)(/.+)$; # NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini fastcgi_connect_timeout 60; fastcgi_send_timeout 180; fastcgi_read_timeout 180; # Buffer settings increase to compensate for increased time/size due to SSL fastcgi_buffer_size 128k; fastcgi_buffers 4 256k; # fastcgi_busy_buffers_size 256k; fastcgi_temp_file_write_size 256k; fastcgi_intercept_errors on; fastcgi_pass php; fastcgi_index index.php; include fastcgi_params; } location / { error_page 404 = @blesta; #IF file doesn't exist log_not_found off; } #Core rewrite location @blesta { rewrite ^(.*)$ /index.php last; }
    2 points
  7. This would be a beneficial feature for those of us who lock SSH to key-based authentication only.
    1 point
  8. Blesta Addons

    Can't Change Theme

    how do you fix the isseu ? can you share your conf for other users and to add it to blesta wiki .
    1 point
  9. AlexF

    Upgrade/downgrade Services?

    To make it works you should apply your services in the same package group.
    1 point
  10. For SMTP Security, select TLS. Make sure port 587 egress is open at your firewall.
    1 point
  11. The standard order form in 3.2 should be responsive already, what's not working for you?
    1 point
  12. app/views/client/bootstrap/structure.pdt contains the header & footer for the client area. If you make a lot of changes, you can clone the bootstrap directory with a different name, and select the new one under Settings > Company > Look and Feel > Template.
    1 point
  13. Bit Bayou

    Nginx Rewrite

    Happy to see another member from the great state of Louisiana! I've done a lot of work in Apache, but I have used tools like http://winginx.com/en/htaccess that help convert .htaccess Apache files in to the proper configuration for nginx
    1 point
  14. ServZoo

    Nginx Rewrite

    I have removed my directories and you will notice a lot of commented sections. I have been toying with making this work. I'm by no means an NGINX expert, but I normally don't have this many issues. I did try to run the config listed on github, but had way too many errors, so I modified until it started working. Thanks for helping out! # NGINX CONFIGURATION server { listen 80; listen 443 ssl; server_name billing.servzoo.com; access_log *removed*.access.log rt_cache; error_log *removed*.error.log; #rewrite ^ https://$server_name$request_uri? permanent; # This will redirect index.php index.htm to / # Feel free to add other extension you need #if ( $request_uri ~ "/index.(php|html?)" ) { # rewrite ^ /$1 permanent; #} root *removed*/htdocs; index index.php index.htm index.html; server_name billing.servzoo.com; ssl_certificate *removed*.crt; ssl_certificate_key *removed*.key; location / { try_files $uri $uri/ /index.php?$args; } location ~ \.php$ { try_files $uri =404; include fastcgi_params; fastcgi_pass php; } # Disallow access to any file with .pdt extension location ~ (\.pdt) { return 403; } # Ported from Blesta's .htaccess # There are more than one way to accomplish this. # You can use try_files rather than using IF ... rewrite; #location / { # error_page 404 = @blesta; #IF file doesn't exist # log_not_found off; # For access to install file #if ($request_uri ~ "^(.*)/install.php$"){ # rewrite install.php /%1/install/ redirect; # } #if (!-e $request_filename){ #rewrite ^(.*)$ /index.php; #} #} #Core rewrite location @blesta { rewrite ^(.*)$ /index.php last; } include common/locations.conf; }
    1 point
×
×
  • Create New...