Jump to content

Shahryar

Newbie
  • Posts

    6
  • Joined

  • Last visited

Profile Information

  • Language
    English
  • Software
    IPS4
  • Version
    4.3.6

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Shahryar's Achievements

Rookie

Rookie (2/14)

  • First Post
  • Week One Done
  • One Month Later
  • One Year In
  • Reacting Well

Recent Badges

1

Reputation

  1. finally i found the damn problem. The problem was with php 7.3. I returned it to the previous version and the problem seems to have been resolved.
  2. Sorry, I forgot it. I added this code to Custom HTTPD Configurations in directadmin, but it show me an error. The error is: nginx: [emerg] invalid number of arguments in "rewrite" directive in /usr/local/directadmin/data/users/admin/nginx.conf:21 nginx: configuration file /etc/nginx/nginx.conf test failed The code I entered is: location / { if (!-e $request_filename){ rewrite \.(js|css|jpeg|jpg|gif|png|ico|map)(\?|$) /404error.php break; } if (!-e $request_filename){ rewrite ^(.*)$ /index.php break; } if ($http_host !~ "^www.mydomain.com$"){ rewrite ^/(.*) https://forums.mydomain.com/index.php/$1 [L, QSA] redirect; } } The problem seems to be this: rewrite ^/(.*) https://forums.mydomain.com/index.php/$1 [L, QSA] redirect; ?
  3. No, it doesn't work. we use nginx reverse proxy and apache. Can this be the problem?
  4. i think mod_security is not installed. this is my htaccess content: <IfModule mod_rewrite.c> Options -MultiViews RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteRule \.(js|css|jpeg|jpg|gif|png|ico|map)(\?|$) /404error.php [L,NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> Oh, I forgot to say that my forum is located in subdomain. subdomain name is "forums" and web address is like "https://forum.domain.com".
  5. Hello guys, I'd tried to enable Friendly URL option in Search Engine Optimization settings, but after activate and placing the htaccess file in the server, all posts, pages and forums show me " The page you requested does not exist". I'd enabled three options in "Friendly URL" tab. what is the problem? help me plz.
  6. you can use cloudflare's flexible ssl. its free and easy to use.
×
×
  • Create New...