PDA

View Full Version : .htaccess to web.config?


thetechgenius
09-17-2014, 09:47 PM
I am trying to convert this (Unix) htaccess code to (Windows) web.config code, could anyone give me a hand with this?

I have tried Online Converters, but it seems the converters don't give me the entire code.




Here is the .htaccess that I need to get converted to web.config.



<IfModule mod_rewrite.c>
RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_FILENAME} !-l

RewriteRule ^([0-9]+)$ showthread.php?t=$1 [NC,QSA,L]
</IfModule>

Zachery
09-17-2014, 11:37 PM
There is an included web.config in the do_not_upload folder for vBulletin 4.

thetechgenius
09-18-2014, 12:42 AM
There is an included web.config in the do_not_upload folder for vBulletin 4.

This was for a custom mod I was working on. But I got it fixed now. I added a ShortURL system to my board, using my own ShortURL Domain. Thank you though!