Welcome to the E-Blah Community!
We would like to welcome you to our community and invite you to register an account or login.
Being a registered member is important, as it gives you several advantages over the normal Guest status. After registering you will be able to download files and images, post messages, and access member-only portions of the forum - just to name a few. Registration is quick and simple, and only takes about a minute of your time.

E-Blah Community    Informational    Forum Updates  ›  mod_rewrite and E-Blah
Users Browsing Forum
No Members and 4 Guests

mod_rewrite and E-Blah  This thread currently has 13,551 views. Print
6 Pages « 1 2 3 4 5 6 Recommend Thread
Ryan
March 22, 2007, 2:26pm Report to Moderator Report to Moderator

Inactive Support Team
Posts: 1,799
Gender: Male
Posts Per Day: 1.20
Reputation: 85.00%
Reputation Score: +85 / -15
Time Online: 11 days 8 hours 2 minutes
Location: Ontario
Age: 29
I'm totally crap at modrewrite... anyone want to help?  Trying to make it happen in the directory eblah is installed, instead of on a different directory.

So instead of
/cgi-bin/forum/Blah.pl  forwarding to:
/forum/

I want it to be like:
/forum/ and have the installation IN that directory.

The following works... but the css doesn't.  Any ideas?

Code
Options All Indexes
IndexOptions FancyIndexing
RewriteEngine On
RewriteBase /ndnbloggers
RewriteRule ^(.*) Blah.pl?$1




Read about Canada's Holocaust "Hidden from History" - http://www.ryanpaul.ca/canadas-holocaust/
Logged Offline
Site Site Private Message Private message YIM YIM Reply: 75 - 84
Craig
March 22, 2007, 3:10pm Report to Moderator Report to Moderator

SQL Support Team
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
With E-Blah, I don't think you can do it.  I have tried, and it won't work.


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.
Logged Offline
Site Site Private Message Private message ICQ ICQ Reply: 76 - 84
whiskymac
March 23, 2007, 10:51am Report to Moderator Report to Moderator

www.breathemini.co.uk
Posts: 302
Gender: Male
Posts Per Day: 0.30
Reputation: 100.00%
Reputation Score: +1 / -0
Time Online: 2 days 10 hours 47 minutes
Location: Preston
Not quite sure if I've interpreted this the right way but mine is set so that the install is just in /forum/ not in a cgi-bin.  I use mod_rewrite so instead of http://www.breathemini.co.uk/forum/Blah.pl it is just http://www.breathemini.co.uk/forum

Use the following for the mod_rewrite to get this to work

Code
Options All Indexes
IndexOptions FancyIndexing
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/forum/Blah.pl
RewriteBase /forum
RewriteRule ^(.*) /forum/Blah.pl?$1


Hope thats what you meant, if not, ignore it!




A growing community for the classic Mini - Come Join in
http://www.BreatheMini.co.uk
Logged Offline
Site Site Private Message Private message Reply: 77 - 84
Justin
March 23, 2007, 12:36pm Report to Moderator Report to Moderator

The E-Blah Developer
E-Blah Programmer
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
That's correct.  You can also do:

RewriteCond %{REQUEST_FILENAME} !-f

Which will make it work also.


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

Logged Offline
Site Site Private Message Private message Reply: 78 - 84
Ryan
March 26, 2007, 4:09pm Report to Moderator Report to Moderator

Inactive Support Team
Posts: 1,799
Gender: Male
Posts Per Day: 1.20
Reputation: 85.00%
Reputation Score: +85 / -15
Time Online: 11 days 8 hours 2 minutes
Location: Ontario
Age: 29
I just tried that... and it stopped the css from working




Read about Canada's Holocaust "Hidden from History" - http://www.ryanpaul.ca/canadas-holocaust/
Logged Offline
Site Site Private Message Private message YIM YIM Reply: 79 - 84
Justin
March 26, 2007, 4:16pm Report to Moderator Report to Moderator

The E-Blah Developer
E-Blah Programmer
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
What's the error Apache returns for the .css file?


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

Logged Offline
Site Site Private Message Private message Reply: 80 - 84
Ryan
March 26, 2007, 4:54pm Report to Moderator Report to Moderator

Inactive Support Team
Posts: 1,799
Gender: Male
Posts Per Day: 1.20
Reputation: 85.00%
Reputation Score: +85 / -15
Time Online: 11 days 8 hours 2 minutes
Location: Ontario
Age: 29
Just checked the error logs in cpanel... nothing there at all about anything.css




Read about Canada's Holocaust "Hidden from History" - http://www.ryanpaul.ca/canadas-holocaust/
Logged Offline
Site Site Private Message Private message YIM YIM Reply: 81 - 84
Ryan
March 30, 2007, 10:21pm Report to Moderator Report to Moderator

Inactive Support Team
Posts: 1,799
Gender: Male
Posts Per Day: 1.20
Reputation: 85.00%
Reputation Score: +85 / -15
Time Online: 11 days 8 hours 2 minutes
Location: Ontario
Age: 29
It does work... but the css doesn't.   For now, I moved the css outside of the forum directory.  Anyone got any idea on how to achieve this whilst keeping the blahdocs INSIDE the forum directory?




Read about Canada's Holocaust "Hidden from History" - http://www.ryanpaul.ca/canadas-holocaust/
Logged Offline
Site Site Private Message Private message YIM YIM Reply: 82 - 84
will
May 20, 2007, 10:52am Report to Moderator Report to Moderator

Jesus is the way the truth and the life
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
I am trying this again....i am having a problem i sorted before but now i have no idea how i did it....

http://www.the12z.com/forums it loads fine no problems but all the links just point to the main page (if you click the forum it loads the index page despite the url changing).  I have the eblah.pl file as '/forums/' so thats not the problem.  Im confused.  Anyone any idea whats up.  I checked error logs there is nothing reported about this.


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

Logged Offline
Private Message Private message Reply: 83 - 84
Martin
May 20, 2007, 1:10pm Report to Moderator Report to Moderator

I love E-Blah
10 Series Support Team
Posts: 4,514
Gender: Male
Posts Per Day: 3.31
Reputation: 98.59%
Reputation Score: +210 / -3
Time Online: 35 days 13 hours 28 minutes
Location: UK
Age: 50
This is the theme and the fact you are using modrewrite, you need to edit template.html and take out the Blah.pl? from the menu links apart from the Home link.



Martin's Reputation: Increase

Revision History (2 edits)
Martin  -  May 20, 2007, 2:14pm
Martin  -  May 20, 2007, 2:14pm
Logged Offline
Site Site Private Message Private message Reply: 84 - 84
6 Pages « 1 2 3 4 5 6 Recommend Thread
Print

E-Blah Community    Informational    Forum Updates  ›  mod_rewrite and E-Blah

Thread Tags