.htaccess file needs altering?

 
Post new topic   Reply to topic    Aprelium Forum Index -> URL Rewriting
View previous topic :: View next topic  
Author Message
MarkJ
-


Joined: 23 Dec 2006
Posts: 3

PostPosted: Tue Jan 02, 2007 11:54 pm    Post subject: .htaccess file needs altering? Reply with quote

Hi

I don't know much about htaccess files and I need this code (looks pretty straightforward compared to some htaccess files I have seen) to be able to work on my server:

Code:
Options +FollowSymLinks

RewriteEngine on
RewriteBase /

RewriteCond %{REQUEST_FILENAME}  !-f
RewriteRule ^(shop)(/.*)?$  cgi-bin/dyse/view.pl?merch=instrumentpro&dir=$1&path=$2  [L]


It directs users to the instrumentpro directory. Without the above the script won't run it seems.

Any ideas?

Regards - Mark
_________________
My Site: http://bluesplayer.co.uk
Back to top View user's profile Send private message
Arctic
-


Joined: 24 Sep 2004
Posts: 560

PostPosted: Wed Jan 03, 2007 12:37 am    Post subject: Reply with quote

You can't use .htaccess files on Abyss.

Sorry.
Back to top View user's profile Send private message ICQ Number
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Wed Jan 03, 2007 12:52 am    Post subject: Reply with quote

You can disect the source from the .htaccess file and use it with Abyss Web
Server. Have a look in the Beta forum for the 2.4 release.
Back to top View user's profile Send private message Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Wed Jan 03, 2007 12:53 pm    Post subject: Re: .htaccess file needs altering? Reply with quote

MarkJ,

This .htaccess file define an URL rewriting rule. This feature is available on Abyss Web Server version 2.4 which will be officially launched in a few days.

But you can go to the "2.4 Beta" section and download a copy of that new version. After upgrading to it, select "URL Rewriting" and add a new rule defined as follows:

* Virtual Path Regular Expression: ^/(shop)(/.*)?$
* Add a condition which variable is REQUEST_FILENAME and which operator is "Is not a file"
* Set "redirect to" to /cgi-bin/dyse/view.pl?merch=instrumentpro&dir=$1&path=$2
* Leave all the other parameters to their default values.
* Press OK.
* Press Restart
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> URL Rewriting All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group