| Topic Archived |
View previous topic :: View next topic |
| Author |
Message |
shenphen Platinum Supporter


Offline Joined: May 19, 2004 Posts: 378 Location: Europe
|
Posted: Sun Feb 13, 2005 11:35 pm Post subject: LEO troubles... |
|
If I activate LEO, the links of the CPG_Main_Menu do not work anymore! Why? I have check the .htaccess, tried different ways, but still...
Thank you
shenphen's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Apache/1.3.29 (Unix) / MySQL 4.0.24 / PHP v.4.3.10 / 9.0.4 (browser: Firefox 1.0.4)
|
|
| Back to top |
|
 |
Purus Gold Supporter


Offline Joined: Aug 21, 2004 Posts: 418 Location: NY, USA
|
Posted: Mon Feb 14, 2005 5:42 am Post subject: Re: LEO troubles... |
|
Is it all the links, or just index.html? I had the same problem with index.html, so I changed mine back to index.php. The other ones worked fine though.
_________________ Purus Studios | Purus Studios: Dragonfly | The Pensive Penguin
Purus's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Shared Host / Linux / Apache 1.3.34 (Unix) / MySQL 4.1.11-standard / PHP 4.3.11 / CPG 9.0.6.1
|
|
| Back to top |
|
 |
mobileguy Heavy poster


Offline Joined: Jul 31, 2004 Posts: 189 Location: New Zealand
|
Posted: Mon Feb 14, 2005 7:15 am Post subject: Re: LEO troubles... |
|
LEO
Most be of the hottest issues around here ha ha
Word of advice its your server setup.
If you installed everything correctly and .htaccess is untouched by notepad (used notepad2 here in downloads) LEO works
see
www.cpgnuke.com/Forums...=6624.html
also check you dont have any pages like news.htm etc on your site
see www.cpgnuke.com/Forums...=7599.html
I posted this as if you do a search you will see so many posts that well anyway this is how I fixed it.
Apache server needs configuring.
mobileguy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) FreeBSD neptune 4.9-RELEASE - Apache 10333100 / MySQL 4.0.18 / PHP 4.3.10 / CPG Dragonfly 9.0.6.1
|
|
| Back to top |
|
 |
shenphen Platinum Supporter


Offline Joined: May 19, 2004 Posts: 378 Location: Europe
|
Posted: Mon Feb 14, 2005 11:44 am Post subject: Re: LEO troubles... |
|
It's about all links. Except those I've added in CPG_MainMenu ie. using GetLink.
I've read what I found on forums, but couldn't solve the problem
shenphen's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Apache/1.3.29 (Unix) / MySQL 4.0.24 / PHP v.4.3.10 / 9.0.4 (browser: Firefox 1.0.4)
|
|
| Back to top |
|
 |
Phoenix • Many Posts •


Offline Joined: Apr 19, 2004 Posts: 8799 Location: Netizen
|
|
| Back to top |
|
 |
shenphen Platinum Supporter


Offline Joined: May 19, 2004 Posts: 378 Location: Europe
|
Posted: Mon Feb 14, 2005 1:20 pm Post subject: Re: LEO troubles... |
|
How can I know? (I ask this questions already in an aother thread...)
Thank you
shenphen's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Apache/1.3.29 (Unix) / MySQL 4.0.24 / PHP v.4.3.10 / 9.0.4 (browser: Firefox 1.0.4)
|
|
| Back to top |
|
 |
Phoenix • Many Posts •


Offline Joined: Apr 19, 2004 Posts: 8799 Location: Netizen
|
Posted: Mon Feb 14, 2005 1:41 pm Post subject: Re: LEO troubles... |
|
ask your webhost if mod rewrite is enabled or use,
admin.php?op=info&mods
Look for "Loaded Modules" mod_rewrite.
_________________ • DonationsPro for DragonflyCMS, SMF, MyBB, vBulletin •
Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
|
|
| Back to top |
|
 |
shenphen Platinum Supporter


Offline Joined: May 19, 2004 Posts: 378 Location: Europe
|
Posted: Mon Feb 14, 2005 1:49 pm Post subject: Re: LEO troubles... |
|
I don't see it listed  I'll ask the technical support... (oneandone.co.uk).
Thank you
shenphen's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Apache/1.3.29 (Unix) / MySQL 4.0.24 / PHP v.4.3.10 / 9.0.4 (browser: Firefox 1.0.4)
|
|
| Back to top |
|
 |
Daimos Heavy poster


Offline Joined: Jan 14, 2005 Posts: 159 Location: Germany
|
Posted: Mon Feb 14, 2005 3:22 pm Post subject: Re: LEO troubles... |
|
I had problems with LEO aswell, tried both, Dragonfly in a subfolder, subdomain or directly in the webspace.
I did this to make it work:
| Code:: |
RewriteBase /
RewriteRule /index\.html /index.php
RewriteRule ^([a-zA-Z0-9_=+-]*)\.html index=$1 [L,S=4]
RewriteRule ^([a-zA-Z0-9_]*)/([a-zA-Z0-9_]*)\.html index=$1&file=$2 [L,S=3]
RewriteRule ^([a-zA-Z0-9_]*)/([a-zA-Z0-9_]*)/(.*)\.html index=$1&file=$2&$3 [L,S=1]
RewriteRule ^([a-zA-Z0-9_]*)/(.*)\.html index=$1&file=index&$2 [L]
RewriteRule ^index=(.*[^/])/(.*) index=$1&$2 [N,L]
RewriteRule ^index=(.*) index.php?name=$1 [L] |
i.e., I used the RewriteBase which was supposed to be used for subfolders for the main directory
_________________ Les fruits bien mûrs au goût de miel
Daimos's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Suse Linux/ Apache 1.3.29 (Unix)/ MySQL 4.0.20/ PHP 4.3.10/ Dragonfly 9.0.5.0
|
|
| Back to top |
|
 |
shenphen Platinum Supporter


Offline Joined: May 19, 2004 Posts: 378 Location: Europe
|
Posted: Tue Feb 15, 2005 12:46 am Post subject: Re: LEO troubles... |
|
This works super for me!  Thank you Daimos!
Just to activate "rewriteBase" (though not having a subfolder) and to remove the "html"!
Great. Thanks
shenphen's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Apache/1.3.29 (Unix) / MySQL 4.0.24 / PHP v.4.3.10 / 9.0.4 (browser: Firefox 1.0.4)
|
|
| Back to top |
|
 |
Chalnoth Newbie


Offline Joined: Jul 05, 2004 Posts: 7 Location: Melbourne - Australia
|
Posted: Tue Feb 15, 2005 7:16 am Post subject: Re: LEO troubles... |
|
Same here. Just set
RewriteBase /
and it all starts working.
Thanks for the heads up.
Chalnoth's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) FreeBSD 4.9-RELEASE-p2/1.3.29/4.0.18/4.3.6/9.1.1
|
|
| Back to top |
|
 |
mobileguy Heavy poster


Offline Joined: Jul 31, 2004 Posts: 189 Location: New Zealand
|
Posted: Tue Feb 15, 2005 9:10 am Post subject: Re: LEO troubles... |
|
Odd
You shoulnot have to change the .htaccess if you have you site in the default directory.
I have posted this as this is prob more do with how your server is setup and directories not being standard.
I would not recomend changing .htaccess
This is the standard .htaccess that works out of the box.
Recomendation change check your install and your server first.
# if you use LEO and CPG-Nuke is installed in a sub-directory like '/html',
# remove that # before RewriteBase and rename /html to the path of the sub-directory
# RewriteBase /html
RewriteRule /index\.html /index.php
RewriteRule ^([a-zA-Z0-9_=+-]*)\.html index=$1 [L,S=4]
RewriteRule ^([a-zA-Z0-9_]*)/([a-zA-Z0-9_]*)\.html index=$1&file=$2 [L,S=3]
RewriteRule ^([a-zA-Z0-9_]*)/([a-zA-Z0-9_]*)/(.*)\.html index=$1&file=$2&$3 [L,S=1]
RewriteRule ^([a-zA-Z0-9_]*)/(.*)\.html index=$1&file=index&$2 [L]
RewriteRule ^index=(.*[^/])/(.*) index=$1&$2 [N,L]
RewriteRule ^index=(.*) index.php?name=$1 [L]
</IfModule>
mobileguy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) FreeBSD neptune 4.9-RELEASE - Apache 10333100 / MySQL 4.0.18 / PHP 4.3.10 / CPG Dragonfly 9.0.6.1
|
|
| Back to top |
|
 |
shenphen Platinum Supporter


Offline Joined: May 19, 2004 Posts: 378 Location: Europe
|
Posted: Tue Feb 15, 2005 9:13 am Post subject: Re: LEO troubles... |
|
The advise of a programmer of DragonFly would be important here to lift any confusion, and assure us that what we did does not create any security breach!
DJMaze?
Thank you
shenphen's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Apache/1.3.29 (Unix) / MySQL 4.0.24 / PHP v.4.3.10 / 9.0.4 (browser: Firefox 1.0.4)
|
|
| Back to top |
|
 |
DJ Maze Developer


Offline Joined: Apr 19, 2004 Posts: 5683 Location: http://tinyurl.com/5z8dmv
|
Posted: Tue Feb 15, 2005 9:49 am Post subject: Re: LEO troubles... |
|
Changing the
| Code:: |
# RewriteBase /html |
and removing the
| Code:: |
RewriteRule /index\.html /index.php |
Doesn't have to do anything with security so you're safe.
Sometimes when a server isn't setup properly you have to alter those 2 codes to get LEO working.
It's very system dependent and it's ok to experiment with them.
One issue we still didn't figure out is the ERROR 401.5 which is caused on some systems.
The server admins say they didn't edit anything but i know it's a wrong IIS, proxy or Norton Antivir scanner. But which is the culprit is still a x-file.
DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
|
|
| Back to top |
|
 |
shenphen Platinum Supporter


Offline Joined: May 19, 2004 Posts: 378 Location: Europe
|
Posted: Tue Feb 15, 2005 9:52 am Post subject: Re: LEO troubles... |
|
Thank you DJMaze
shenphen's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Apache/1.3.29 (Unix) / MySQL 4.0.24 / PHP v.4.3.10 / 9.0.4 (browser: Firefox 1.0.4)
|
|
| Back to top |
|
 |
|
|