Jump to content

maelep

Members
  • Posts

    11
  • Joined

  • Last visited

Posts posted by maelep

  1. Ok, after a bit of research for you I think this is the line you need

    SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
    
    I found that line here https://ember-docs.kekalainen.me/installation/web.html#web-server-configuration

     

    The SetEnvIf directive is available for use in .htaccess https://httpd.apache.org/docs/2.4/mod/mod_setenvif.html#setenvif

     

    So try putting that line in your .htaccess file and see if it works.

     

    I already added that, it in htaccess that comes with Ember.

    RewriteEngine On
    RewriteBase /
    
    RewriteCond %{REQUEST_URI} ^/([^.]+)\.(png|jpg|gif|css|js|otf|ico) [NC]
    RewriteCond %{REQUEST_URI} !public/
    RewriteRule (.*) public/$1 [L]
    
    RewriteCond %{REQUEST_URI} !public/
    RewriteRule ^ public/index.php [QSA,L]
    
    SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
    
    DirectorySlash Off
    

     

  2. Gmail often considers mail from our servers to be spam, so it’s probably in the spam folder...

     

    Also, if you use IMAP to sync instead, the messages should stay on our server until you delete them.

    No, I don't have any mails in spam and I can't use IMAP because your service isn't compatible with Gmailify so I'm forced to use Pop3 :(

  3. I added my HelioHost email to Gmail using POP3. It was working perfectly for some days but not anymore.

    I changed anything, I receive mail in the HelioHost webmail then disappear because should transferred to Gmail but I don't receive it in my Gmail box.

    Any idea how to resolve this? :(

  4. That's not much information to go on. How about the exact error message perhaps?

    The error comes from the plugin and it's a customized one ("Unauthorized") but the code code source of the plugin is:

    Puts ("Checking connection to server");
    config.Token = "myPrivateToken"
    config.Host = "https://rust.maelep.be"
    headers = new Dictionary<string, string> { { "Authorization", "Bearer " + config.Token }, { "Accept", "application/json" } };
    
    webrequest.Enqueue (config.Host + "/api/server/connectioncheck", null, (code, response) => {
    	if (code != 200 || response == null) {
    		Puts ($"Connection failed. Response: {response}");
    		return;
    	}
    	Puts ("Connection established and token validated successfully");
    }, this, RequestMethod.GET, headers);
    
    if (config.PollingInterval > 0) {
    	timer.Every (config.PollingInterval, () => {
    		PollUsers ();
    	});
    }
    

    And the source code of "connectioncheck" of the CMS is too hard to find but I found some files that can probably help you. I sent you it in private.

     

    An answer from the developer:

    routes are mapped to controller methods & middleware in app/routes.php. The relevant code is in ServerTokenMiddleware. The error is thrown if a PSR-7 getHeader call doesn't return any results so the issue is quite simply the Authorization header not being present in the request sent to PHP

  5. You can't. You're on a shared server, which means the Apache installation is used for thousands of websites, not just yours. If we allowed users access to it, your changes would affect everybody, and quite likely break other users.

     

    That said, we might be able to make the needed changes for you if they won't break anything (if they break something, you would need to buy a VPS so you have an entire server to yourself). 

     

    What software are you trying to use, and what isn't working?

     

    I'm using a simple website CMS, you can see it at https://rust.maelep.be and this one comes with a Rust's game plugin that link my website to my game server. Players who buy a package on my website will make my website send a command to my game server that will grant the package.

     

    To make it works, I have to "sync" the plugin to my website but it doesn't seems to be possible to do that with changing a parameter in Apache. (I'm noob at this, I don't know the parameter).

     

    The CMS is Ember from https://www.gmodstore.com/market/view/5620 (PAID)

    The plugin is https://umod.org/plugins/ember (FREE)

     

    Plugins use CSharp web request, it was working with my old web host (https://www.easyhost.be/en/) and it isn't a VPS so I supposed that changing the parameter needed will break anything.

     

    I'm discussing with the developer of Ember and he said:

     

    the issue is the Authorization header isn't being passed to Apache (presumably, given the token & host in your plugin configuration are correct)

    pretty much the same issue as this one here

    https://support.deskpro.com/en/kb/articles/missing-authorization-headers-with-apache

  6. Hello,

     

    I discovered your service and I think I already love it but I'm lost. I would like to only use my domain (OVH) for the domain and use HelioHost for the rest.

     

    1. How can I point my domain website to HelioHost?
    2. How can I receive email mymail@mydomain.com and then use Gmail as client (Pop3).

    I was using my domain provider to redirect all email to my Gmail address then I added my email address @mydomain to Gmail to be able to send email as.

     

    But I never managed to use my old webhost at the same time because when I pointed my domain to my web host, I was not able to receive my emails anymore and when I finally managed to receive my emails in Gmail, I didn't have access to my website anymore .

    I never managed to do what I wanted to do:

    • Use OVH only for my domain name and subdomains.
    • Use HelioHost for the rest.
    • Receive my mail in Gmail and send as.

    Can you help me? I'm totally lost... :(

     

    EDIT: I think I managed to get emails but still have issue with my website...
     

×
×
  • Create New...