Loading ...
Sorry, an error occurred while loading the content.

.htaccess problem folder & variable

Expand Messages
  • Bijon
    dear all, i am using a .htaccess file in a php project. all think working good. but i can not access my folder A exampel http://localhost/tixbd/user-login its
    Message 1 of 3 , Mar 25 6:58 AM
    • 0 Attachment
      dear all,
      i am using a .htaccess file in a php project.

      all think working good. but i can not access my folder

      A exampel

      http://localhost/tixbd/user-login
      its working good. hear "user-login" is a variable

      and another link is "http://localhost/tixbd/TixBdAdmin/"

      heare "TixBdAdmin" is a folder name

      but i can not access the folder using this link "http://localhost/tixbd/TixBdAdmin/"

      my .htaccess is
      /*********************Start***********************/
      RewriteEngine On

      RewriteRule ^([a-zA-Z0-9-/]+)$ index.php?page=$1
      RewriteRule ^([a-zA-Z0-9-/]+)/$ index.php?page=$1
      RewriteRule ^([a-zA-Z0-9-/]+)$ ?page=$1
      RewriteRule ^([a-zA-Z0-9-/]+)/$ ?page=$1

      RewriteRule ^([^/]*)/([^/]*)/([^/]*)\.html$ ?page=$1&title=$2&eid=$3 [L]
      RewriteRule ^([^/]*)/([^/]*)/([^/]*)\.html$ ?page=$1&title=$2&eid=$3 [L]

      RewriteRule ^([^/]*)/([^/]*)\.html$ index.php?page=$1&eid=$2 [L]
      RewriteRule ^([^/]*)/([^/]*)\.html$ ?page=$1&eid=$2 [L]

      RewriteRule ^([^/]*)/([^/]*)/([^/]*)\.html$ ?page=$1&fid=$2&fcode$3 [L]
      RewriteRule ^([^/]*)/([^/]*)/([^/]*)\.html$ ?page=$1&fid=$2&fcode=$3 [L]

      RewriteRule ^([^/]*)/([^/]*)/([^/]*)\.html$ ?page=$1&oid=$2&vc=$3 [L]
      /*********************END***********************/
      what can i do now? please help me....
    • Bijon
      Dear experts, please help me for this problem.
      Message 2 of 3 , Apr 28, 2013
      • 0 Attachment
        Dear experts,
        please help me for this problem.
      • Mahfuz-ur Rahman
        you need to understand what is mod_rewite and how it works. then you can solve your problem. google it.
        Message 3 of 3 , Apr 29, 2013
        • 0 Attachment
          you need to understand what is mod_rewite and how it works. then you can solve your problem. google it.
        Your message has been successfully submitted and would be delivered to recipients shortly.