We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2690
    • 148 Posts
    Hey Guys,

    I’m developing a new site with MODx now ... I’m on Appache with PHP and perl...

    The development server setup with domain like this: www.domainname.com:5353/

    My friendly urls dont work.(everything else runs smoothly)
    I checked for mod_rewrite - its there ... tried different options - nothing helps.

    I think its because i have a port number in my domain. I’m sure i need to change it here: RewriteRule ^(.*)$ index.php?q=$1 [L,QSA] (in htaccess) but i’m coming from windows env. so have no idea what exactly smiley


    any help will be greatly appreciated !!!

    Aleks
      MODx Revo 2.0.6-pl (Traditional) | Apache 2.2.3 | PHP 5.2.14 | MySQL 5.0.77 | MAC OS 10.6.5 | FF 3.6/Chrome 9.0.5
    • Quote from: bakalek at Apr 10, 2006, 09:42 PM

      Hey Guys,

      I’m developing a new site with MODx now ... I’m on Appache with PHP and perl...

      The development server setup with domain like this: www.domainname.com:5353/

      My friendly urls dont work.(everything else runs smoothly)
      I checked for mod_rewrite - its there ... tried different options - nothing helps.

      I think its because i have a port number in my domain. I’m sure i need to change it here: RewriteRule ^(.*)$ index.php?q=$1 [L,QSA] (in htaccess) but i’m coming from windows env. so have no idea what exactly smiley


      any help will be greatly appreciated !!!

      Aleks

      Aleks, try adding the following to your template(s) HEAD tags...

      <base href="[(site_url)]" />


      and let me know if that solves the problem.
        • 7923
        • 4,213 Posts
        And if that does not work, look at this topic to see if it helps!


          "He can have a lollipop any time he wants to. That's what it means to be a programmer."
          • 2690
          • 148 Posts
          nope didnt work ... i wonder ...can it be that the .htaccess not getting through ?

          Thanks !
            MODx Revo 2.0.6-pl (Traditional) | Apache 2.2.3 | PHP 5.2.14 | MySQL 5.0.77 | MAC OS 10.6.5 | FF 3.6/Chrome 9.0.5
            • 2690
            • 148 Posts
            got it ... same issues as here: http://modxcms.com/forums/index.php/topic,2675.0.html


            Thanks to all !!!

            Aleks
              MODx Revo 2.0.6-pl (Traditional) | Apache 2.2.3 | PHP 5.2.14 | MySQL 5.0.77 | MAC OS 10.6.5 | FF 3.6/Chrome 9.0.5