mod rewrite rule in .ht access {trying to eliminate folder}

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
markleroy
-


Joined: 09 Oct 2009
Posts: 1

PostPosted: Fri Oct 09, 2009 1:02 pm    Post subject: mod rewrite rule in .ht access {trying to eliminate folder} Reply with quote

To tidy things up at my website i created folders and sub folders, but they are appearing in the URL.

Example :: http://www.mywebsite.com/folder/subfolder/myfile.html

So as you can see the URL is huge and I am trying to eliminate the folder and sub folder from appearing in the URL, so it looks more like

http://www.mysite.com/myfile.html

To view the problem you can go to my website http://www.helpvid.net and follow the tutorials link, as you will see the deeper you go folder and sub folder appear in the URL.

I have one folder named "tutorials" and inside that folder I have several named

dreamweaver
photoshop
flash
after effects
fireworks

So I am trying to eliminate these folders from appearing in the URL, the only thing I want to appear in the URL is the .html file which is stored withn these folders

example mywebsite.com/myfile.html
Back to top View user's profile Send private message
Toasty
-


Joined: 21 Feb 2008
Posts: 298
Location: Chicago, IL

PostPosted: Sun Oct 18, 2009 3:47 pm    Post subject: Reply with quote

Sorry, this forum is for support for Aprelium's Abyss Web Server. The .htaccess documentation should be on your Apache's help, or support forums.

I did verify that you are running Apache, so this may be the best avenue to resolve your issue.
_________________
Audit the secure configuration of your server headers!
Back to top View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP 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