I am trying line by line
Started with the following line
RewriteRule ^(.*).html$ \.php [QSA,L]
to
url.rewrite-once = ( "^(.*)\.php\??(.*)?$" => "$1.html?$2" )
And it works. But I don't know how it works. Can you guys please help me
with following lines
RewriteCond %{REQUEST_URI} ^(.+)\~s$
RewriteRule ^(.*) stats.php?u=\ [L]
RewriteCond %{REQUEST_URI} ^(.+)\~d$
RewriteRule ^(.*) delete_file.php?u=\ [QSA,L]
RewriteCond %{REQUEST_URI} ^(.+)\~i$
RewriteRule ^(.*) share_file.php?u=\ [QSA,L]
RewriteCond %{REQUEST_URI} ^(.+)\~f$
RewriteRule ^(.*) view_folder.php?f=\ [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond \ !\.html$
RewriteRule ^(.*) file_download.php?u=\ [QSA,L]
Thanks
On Thu, May 9, 2013 at 10:57 AM, Venkatraman S <[email protected]> wrote:
> On Thu, May 9, 2013 at 10:26 AM, Arun Khan <[email protected]> wrote:
>
> > On Wed, May 8, 2013 at 6:57 PM, Kannan <[email protected]> wrote:
> > > *Hi Guys, *
> > > *
> > > *
> > > *Can anyone help me converting this Apache .htaccess to Lighttpd URL
> >
> > Consider nginx <http://nginx.org/en/> if you are switching the web
> > server software.
> >
>
>
> +1. Nginx is kicka$$. The ease of setup+configuration will remove/avoid a
> lot of pain.
>
> -V
> @venkasub
> _______________________________________________
> ILUGC Mailing List:
> http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
>
--
With regards,
Kannan. R. P,
Blog @: http://kannan4k.wordpress.com/
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc