BrainCMS: htaccess / web.config?

Results 1 to 10 of 10
  1. #1
    Apprentice Chromium9 is offline
    MemberRank
    Aug 2019 Join Date
    9Posts

    angry BrainCMS: htaccess / web.config?

    Is there any way to correct htaccess and/or web.config? When i try to make sub-domains or paths i get 404 object not found!When i temp rename .htaccess and web.config my paths work fine without issue but this of course breaks BrainCMS?using XAMPP + subdomain.


  2. #2
    Proficient Member KittyChloe is offline
    MemberRank
    Jul 2019 Join Date
    162Posts

    Re: BrainCMS: htaccess / web.config?

    What's your HTACCESS rules?

  3. #3
    Apprentice Chromium9 is offline
    MemberRank
    Aug 2019 Join Date
    9Posts

    Re: BrainCMS: htaccess / web.config?

    Quote Originally Posted by KittyChloe View Post
    What's your HTACCESS rules?
    Currently the default htaccess.

    https://pastebin.com/s7XMbC8L

  4. #4
    Apprentice Chromium9 is offline
    MemberRank
    Aug 2019 Join Date
    9Posts

    Re: BrainCMS: htaccess / web.config?

    it's definitely a htaccess issue. Tried goldfish cms but seems no htaccess so a lot of errors

  5. #5
    Alpha Member Glee is offline
    MemberRank
    Jun 2009 Join Date
    Niagara Falls,Location
    2,225Posts

    Re: BrainCMS: htaccess / web.config?

    I don’t know if your using xampp on Mac or Windows but maybe a little bit of search on google I found this.


    https://eddyerburgh.me/add-subdomain...ver-on-windows


    Sent from my iPhone using Tapatalk

  6. #6
    Apprentice Chromium9 is offline
    MemberRank
    Aug 2019 Join Date
    9Posts

    Re: BrainCMS: htaccess / web.config?

    Quote Originally Posted by Glee View Post
    I don’t know if your using xampp on Mac or Windows but maybe a little bit of search on google I found this.


    https://eddyerburgh.me/add-subdomain...ver-on-windows


    Sent from my iPhone using Tapatalk
    Windows, yeah sub-domain works fine as long as the sub domain is outside the htdocs folder or braincms breaks it i had to map it to a custom htdocs folder. but can't do custom paths which is annoying like domain.com/radio for radio stuff unless i delete htaccess but that breaks braincms.

  7. #7
    Proficient Member KittyChloe is offline
    MemberRank
    Jul 2019 Join Date
    162Posts

    Re: BrainCMS: htaccess / web.config?

    Thing is, you're not even trying​ to write a page rule to do what you need it to do.

  8. #8
    Apprentice Chromium9 is offline
    MemberRank
    Aug 2019 Join Date
    9Posts

    Re: BrainCMS: htaccess / web.config?

    Quote Originally Posted by KittyChloe View Post
    Thing is, you're not even trying​ to write a page rule to do what you need it to do.
    That's true. However, i don't normally do page rules for any of my websites and they work fine (simple shit like /about no query)? It's only when using BrainCMS it seems every page will need a rule or brain errors it?

  9. #9
    Gaby is offline
    MemberRank
    Apr 2013 Join Date
    Viva HollandiaLocation
    1,607Posts

    Re: BrainCMS: htaccess / web.config?

    I would advise mapping your subdomain to a different folder, how to do this depends on your webserver and should be easily found on Google. (:

  10. #10
    Apprentice Chromium9 is offline
    MemberRank
    Aug 2019 Join Date
    9Posts

    Re: BrainCMS: htaccess / web.config?

    Quote Originally Posted by Gaby View Post
    I would advise mapping your subdomain to a different folder, how to do this depends on your webserver and should be easily found on Google. (:
    Yeah that's the method i went with in the end, XAMPP sub-domain and DNS in cloudflare.



Advertisement