|
|
Justin |
|
|
Posts: 15,015
Gender:  Male
Posts Per Day: 6.75
Reputation: 93.40%
Reputation Score: +297 / -21
Time Online: 36 days 17 hours 45 minutes
Location: Tallassee, AL
Age: 21
|
Quoted from xxclixxx
Ok long version: 1) I use modrewrite extensively. The folders I use do not exist at all. For example: http://www.clixnetwork.com/products/traffic-exchange/ There is no folder "products". You don't need to create one. 2) I downloaded the zip with eblah in it and it doesn't have those options. 3) I'm hot, humid, hungry, and just want it to work with mod rewrite but I may just do it the old fashioned way and ping you.
You've got to use 9.3. I've grown fond of rewrite too .... I've changed all my links on eblah.com to be like {whatever}.php when it's really ?v=whatever.php  . |
| I do installs for $25 and upgrades for $20.Technical support is always free. Donate to E-Blah! My Websites: Revolution Reality (My Blog)  |  MinistryTalk.com  |  Portfolio"But you, O Lord, are a compassionate and gracious God, slow to anger, abounding in love and faithfulness." — Psalm 86:15 NIV  |
|
|
|
|
|
thanetm |
|
|
Posts: 177
Gender:  Female
Posts Per Day: 0.16
Reputation: 100.00%
Reputation Score: +5 / -0
Time Online: 12 days 5 hours 1 minutes
Location: Planet Thanet, Kent, UK
Age: 32
|
i've got the mod_rewrite working, and everything is hunkydory if you go to http://www.smallcarsbighearts.co.uk/soapbox/However, if you take that last '/' off it shows information in the address bar that i don't want people to see. Any ideas what is going on? Also, after adding this mod, when people registered the link in the e-mail to validate their address didn't work, so i updated the forum url in the admin settings, but couldn't put a forward slash on the end, so had to go into one of the files (can't remember which one now!) and edit the code. Just thought i would mention it in case other people had the same problem  ta muchly! |
| |
|
|
|
|
|
Justin |
| October 18, 2005, 11:57am |
|
|
Posts: 15,015
Gender:  Male
Posts Per Day: 6.75
Reputation: 93.40%
Reputation Score: +297 / -21
Time Online: 36 days 17 hours 45 minutes
Location: Tallassee, AL
Age: 21
|
|
|
|
|
|
Justin |
| October 19, 2005, 11:16pm |
|
|
Posts: 15,015
Gender:  Male
Posts Per Day: 6.75
Reputation: 93.40%
Reputation Score: +297 / -21
Time Online: 36 days 17 hours 45 minutes
Location: Tallassee, AL
Age: 21
|
|
|
|
|
|
riffplayer |
|
|
Posts: 263
Gender:  Male
Posts Per Day: 0.16
Reputation: 100.00%
Time Online: 2 days 3 hours 37 minutes
Location: Indiana
Age: 33
|
Quoted from thanetm
i've got the mod_rewrite working, and everything is hunkydory if you go to http://www.smallcarsbighearts.co.uk/soapbox/However, if you take that last '/' off it shows information in the address bar that i don't want people to see. Any ideas what is going on? Also, after adding this mod, when people registered the link in the e-mail to validate their address didn't work, so i updated the forum url in the admin settings, but couldn't put a forward slash on the end, so had to go into one of the files (can't remember which one now!) and edit the code. Just thought i would mention it in case other people had the same problem  ta muchly!
I've been doing some research on mod_rewrite and here's something I found that might help:
Quoted Text
Adding Trailing Slashes If your site visitor had entered something like products/12, the rule above won’t do a redirect, as the slash at the end is missing. To promote good URL writing, we’ll take care of this by doing a direct redirect to the same URL with the slash appended.
RewriteRule ^products/([0-9][0-9])$ products/$1/ [R]
Multiple redirects in the same .htaccess file can be applied in sequence, which is what we’re doing here. This rule is added before the one we did above, like so:
RewriteRule ^products/([0-9][0-9])$ products/$1/ [R] RewriteRule ^products/([0-9][0-9])/$ productinfo.php?prodID=$1
Thus, if the user types in the URL products/12, our first rule kicks in, rewriting the URL to include the trailing slash, and doing a new request for products/12/ so the user can see that we likes our trailing slashes around here. Then the second rule has something to match, and transparently redirects this URL to productinfo.php?prodID=12. Slick.
You can see this and more info about Mod Rewrite at this website: http://www.yourhtmlsource.com/sitemanagement/urlrewriting.html |
|
|
|
|
|
Justin |
|
|
Posts: 15,015
Gender:  Male
Posts Per Day: 6.75
Reputation: 93.40%
Reputation Score: +297 / -21
Time Online: 36 days 17 hours 45 minutes
Location: Tallassee, AL
Age: 21
|
|
|
|
|
|
Justin |
|
|
Posts: 15,015
Gender:  Male
Posts Per Day: 6.75
Reputation: 93.40%
Reputation Score: +297 / -21
Time Online: 36 days 17 hours 45 minutes
Location: Tallassee, AL
Age: 21
|
|
|
|
|
|
thanetm |
|
|
Posts: 177
Gender:  Female
Posts Per Day: 0.16
Reputation: 100.00%
Reputation Score: +5 / -0
Time Online: 12 days 5 hours 1 minutes
Location: Planet Thanet, Kent, UK
Age: 32
|
it doesn't seem to work - i'm guessing because of the RewriteBase - which is the 'madeup' bit, so isn't an actual path to redirect... course i have absolutely no idea what i'm talking about - nothing new there!!  |
| |
|
|
|
|
|
goober99 |
| November 3, 2005, 12:00am |
|
E-Blah Member 
Posts: 8
Posts Per Day: 0.01
Time Online: 4 hours 57 minutes
|
I already use mod_rewrite on my website also, and I normally deal with directories that don't exist. I have E-Blah installed in /E-Blah (not in the cgi-bin). I installed 9.4 and changed the lines in Blah.pl to use mod_rewrite. Then I dropped the following line into my .htaccess file in my root web folder, and everything works great:
|
Code
RewriteRule ^forum/*(.*)$ e-blah/Blah.pl?$1 |
|
|
|
|
|
|
|
Justin |
| November 23, 2005, 2:59pm |
|
|
Posts: 15,015
Gender:  Male
Posts Per Day: 6.75
Reputation: 93.40%
Reputation Score: +297 / -21
Time Online: 36 days 17 hours 45 minutes
Location: Tallassee, AL
Age: 21
|
|
|
|
|
|
will |
| November 23, 2005, 4:26pm |
|
|
Posts: 65
Gender:  Male
Posts Per Day: 0.05
Reputation: 100.00%
Reputation Score: +1 / -0
Time Online: 14 days 4 hours 22 minutes
Location: Scotland
Age: 25
|
Right i almost have this working. One major problem.... http://wrestling.forum300.com/forum/ .......what ever i click takes me back to the main page again. Cannot access any of the forums or anything it simply keeps me on the blah.pl page. How do i overcome this problem?. |
| For god so loves the world that he gave his only begotten son the who ever belives in him shall not perish but have everlasting life
|
|
| Revision History (2 edits) |
| will - November 23, 2005, 4:37pm | | will - November 23, 2005, 4:35pm | | error has changed. | | |
|
|
|
|
|
Justin |
| November 23, 2005, 5:20pm |
|
|
Posts: 15,015
Gender:  Male
Posts Per Day: 6.75
Reputation: 93.40%
Reputation Score: +297 / -21
Time Online: 36 days 17 hours 45 minutes
Location: Tallassee, AL
Age: 21
|
|
|
|
|
|
will |
| November 23, 2005, 6:06pm |
|
|
Posts: 65
Gender:  Male
Posts Per Day: 0.05
Reputation: 100.00%
Reputation Score: +1 / -0
Time Online: 14 days 4 hours 22 minutes
Location: Scotland
Age: 25
|
Quoted from admin
In Blah.pl make it /forum/ not forum
Ive done that its still doing the same thing for me. Its not going to the right files its looking in the forum folder for the files.....  |
| For god so loves the world that he gave his only begotten son the who ever belives in him shall not perish but have everlasting life
|
|
|
|
|
|
will |
| November 24, 2005, 6:44am |
|
|
Posts: 65
Gender:  Male
Posts Per Day: 0.05
Reputation: 100.00%
Reputation Score: +1 / -0
Time Online: 14 days 4 hours 22 minutes
Location: Scotland
Age: 25
|
Another thing ive noticed is that if i goto the url http://wrestling.forum300.com/forum and dont put the / on the end of forum i get a different thing altogether. I get the same main page but then i click the link i get this error - Not Found The requested URL /Blah.pl was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache/1.3.34 Server at wrestling.forum300.com Port 80 Any ideas? |
| For god so loves the world that he gave his only begotten son the who ever belives in him shall not perish but have everlasting life
|
|
|
|
|
|
Craig |
| November 24, 2005, 6:58am |
|
|
Posts: 3,619
Gender:  Male
Posts Per Day: 2.23
Reputation: 97.73%
Reputation Score: +215 / -5
Time Online: 14 days 14 hours 57 minutes
Location: Germany
Age: 38
|
Ok, I got it working. For what ever reason, my Forum address needs to be: http://www.blahdocs.com/forum/not: http://www.blahdocs.com/forumfor my News to work right on my main page. If I don't have that trailing slash in there, the links show like this: http://www.blahdocs.com/forumm-somenumber/instead of: http://www.blahdocs.com/forum/m-somenumber/This would be fine, but when I save settings in my admin center, it always removes that trailing slash. Yes I can edit the Settings.pl file, but anytime I save settings after that in my admin center, this will change back to no slash  . Justin, did you put something in the code that removes this slash? If so, can you get rid of that / tell me where to find it so I can fix this problem...please  -Craig. |
| Don't just ask a question. Instead ask a question, give us a screen shot and post a link to your forum. Help us help you make your forum better!If I helped...increase my Reputation by clicking here. |
|
|
|
|
|
|