This .htaccess is on my localhost web server: =C2=A0(note that everyt=hing works perfect.. except for the missing [REQUEST_URI] var upon form POS=T.)
---------------------------------------------------------------------------=---------------------------------------------------------------------------=-------------------------
# [snip] most (and only) comments were removed here...
<IfModule mod_rewrite.c>
=C2=A0 =C2=A0RewriteEngine On
=C2=A0 =C2=A0RewriteBase /WebdnaCodeSparkerWebsite/WCS_webRoot/
=C2=A0 =C2=A0#Checks to see if the user is attempting to access the system= folder
=C2=A0 =C2=A0RewriteCond %{REQUEST_URI} ^WCS_system.*
=C2=A0 =C2=A0RewriteRule ^(.*)$ /index.dna?REQUEST_URI=3D%{REQUEST_URI} [L=]
=C2=A0 =C2=A0#Checks to see if the user is attempting to access the applic=ation folder
=C2=A0 =C2=A0RewriteCond %{REQUEST_URI} ^WCS_application.*
=C2=A0 =C2=A0RewriteRule ^(.*)$ /index.dna?REQUEST_URI=3D%{REQUEST_URI} [L=]
=C2=A0 =C2=A0#Checks to see if the user is attempting to access a valid fi=le,
=C2=A0 =C2=A0#such as an image or css document, if this isn't true it =sends the
=C2=A0 =C2=A0#request to index.dna=C2=A0 =C2=A0RewriteCond %{REQUEST_FILENAME} !-f
=C2=A0 =C2=A0RewriteCond %{REQUEST_FILENAME} !-d=C2=A0 =C2=A0RewriteRule ^(.*)$ index.dna?REQUEST_=URI=3D%{REQUEST_URI} [L]</IfModule>=C2=A0 =C2=A0# can be sent to index.dna
<IfModule !mod_rewrite.c>
=C2=A0 =C2=A0# If we don't have mod_rewrite installed, all 404's
=C2=A0 =C2=A0ErrorDocument 404 /index.dna
</IfModule>
---------------------------------------------------------------------------=---------------------------------------------------------------------------=-------------------------
Thanks for taking a look
-Govinda
This .htaccess is on my localhost web server: =C2=A0(note that everyt=hing works perfect.. except for the missing [REQUEST_URI] var upon form POS=T.)
---------------------------------------------------------------------------=---------------------------------------------------------------------------=-------------------------
# [snip] most (and only) comments were removed here...
<IfModule mod_rewrite.c>
=C2=A0 =C2=A0RewriteEngine On
=C2=A0 =C2=A0RewriteBase /WebdnaCodeSparkerWebsite/WCS_webRoot/
=C2=A0 =C2=A0#Checks to see if the user is attempting to access the system= folder
=C2=A0 =C2=A0RewriteCond %{REQUEST_URI} ^WCS_system.*
=C2=A0 =C2=A0RewriteRule ^(.*)$ /index.dna?REQUEST_URI=3D%{REQUEST_URI} [L=]
=C2=A0 =C2=A0#Checks to see if the user is attempting to access the applic=ation folder
=C2=A0 =C2=A0RewriteCond %{REQUEST_URI} ^WCS_application.*
=C2=A0 =C2=A0RewriteRule ^(.*)$ /index.dna?REQUEST_URI=3D%{REQUEST_URI} [L=]
=C2=A0 =C2=A0#Checks to see if the user is attempting to access a valid fi=le,
=C2=A0 =C2=A0#such as an image or css document, if this isn't true it =sends the
=C2=A0 =C2=A0#request to index.dna=C2=A0 =C2=A0RewriteCond %{REQUEST_FILENAME} !-f
=C2=A0 =C2=A0RewriteCond %{REQUEST_FILENAME} !-d=C2=A0 =C2=A0RewriteRule ^(.*)$ index.dna?REQUEST_=URI=3D%{REQUEST_URI} [L]</IfModule>=C2=A0 =C2=A0# can be sent to index.dna
<IfModule !mod_rewrite.c>
=C2=A0 =C2=A0# If we don't have mod_rewrite installed, all 404's
=C2=A0 =C2=A0ErrorDocument 404 /index.dna
</IfModule>
---------------------------------------------------------------------------=---------------------------------------------------------------------------=-------------------------
Thanks for taking a look
-Govinda
DOWNLOAD WEBDNA NOW!
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...