Results 1 to 2 of 2

Thread: htaccess not rewriting.

Hybrid View

  1. #1
    Join Date
    Jan 2009

    htaccess not rewriting.

    I am struggling to work out why URL rewriting is not functioning properly.
    # .htaccess file for Smartest installations that use Apache 
     # Auto generated by Smartest on Dec 11th, 2011 at 08:04 am. No further automated modifications will take place on this file. 
     php_flag magic_quotes_gpc off 
     php_flag register_globals off 
     php_flag session.auto_start off 
     php_value session.name "SMARTEST" 
     php_value display_errors 0 
     Options +FollowSymLinks +ExecCGI 
     # allow for files with any dot suffix or none at all to be processed by PHP 
     AddType application/x-httpd-php * 
     # Activate mod_rewrite 
     RewriteEngine On 
     # This line is important if you are running other apps in sub directories 
     RewriteBase // 
     # Forward anything that doesn't correspond to a real file to Smartest 
     RewriteCond %{REQUEST_FILENAME} !-d 
     RewriteCond %{REQUEST_FILENAME} !-f 
     RewriteRule ^(.*)$ index.php [QSA,L] 
     # People trying to browse around the resources dir should be forwarded to Smartest 
     RewriteCond %{REQUEST_FILENAME} -d 
     RewriteCond %{REQUEST_URI} ^/Resources/ 
     RewriteRule ^(.*)$ index.php [QSA,L] 
     ErrorDocument 404 //Resources/System/Notices/NoApache404.html
    I changed the RewriteBase // to RewriteBase /cms/ as suggested but that did not help one bit.

    the /cms folder is off the site root, the /Public folder is off the /cms folder. Basically anyone attempting to access /cms/Resources should be pushed to the /cms/smartest folder.

    Its not happening and the help I have had with this so far has not resolved the problem.

    The above .htaccess is generated as part of the install. I didn't write it...

    Any ideas?
    We all have baggage to carry in life, unfortunately for me I always get the trolley with the wonky wheel...
    Youre = {
               alert("YOU, the original poster / thread starter NEED to POST the code and NOT a LINK.");
                alert("You're missing the point. " + msg);

  2. #2
    Join Date
    Dec 2011
    What tool you used for it ??

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center