Hi All
Expanding on a topic that I started elsewhere.
Two installs of PN.8MS2. Both use the same config.php and same DB.
The setup that I have means that everything is identical for both installations (same server, same DB, same PN but copied twice in diff dir's) except for different host headers !
The live directory is root at live.domain while the dev copy is in a sub-dir like dev.domain/postnuke/
I have just stepped through and tested all combinations of off / file / dir shorturls with the following results.
ShortURL option OFF - (afterthought: .htaccess for files was present)
live index.php?module=Legal OK
dev index.php?module=Legal OK
ShortURL option ON / File ON (.htaccess for files)
live module-Legal.html OK
dev module-Legal.html FAIL
ShortURL option ON / File ON (.htaccess for dirs)
live index.php/Legal/ FAILS
dev index.php/Legal/ FAILS
ShortURL option ON / File ON /StripEntry ON (.htaccess for dirs)
live Legal/ FAILS
dev Legal/ FAILS
Somewhere in the chain of apache/mod_rewrite/.htaccess something is failing to process the conversion. So its probably an Apache httpd.conf issue rather than PN which I'll look at further but since I have typed this up already I might as well post it.
--
cheers
Tony
Marble Bay : PostNuke Dev Work
Wren/Maxwell : PostNuke Hosting
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- internetking created topic »password problem« 25. May
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
- nestormateo responded to »Fillters in Clip« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
ShortURL process
-
- Rank: Softmore
- Registered: Nov 19, 2002
- Last visit: Jan 22, 2010
- Posts: 105
-
- Rank: Softmore
- Registered: Nov 19, 2002
- Last visit: Jan 22, 2010
- Posts: 105
Hi All
Not a PN problem, but a sysadmin issue, namely me!
.htaccess will not work without AllowOverride in the httpd.conf for the directory.
What took me 24 hours to realise was that the 'live' site was covered by the default apache config instructions while the 'dev' site was not and needed the 'AllowOverride All' instruction to be added to the virtual host section.
--
cheers
Tony
Marble Bay : PostNuke Dev Work
Wren/Maxwell : PostNuke Hosting
-
- Rank: Legend
- Registered: Dec 11, 2002
- Last visit: Oct 21, 2009
- Posts: 11674
Thanks for reporting your solution to the problem.
--
itbegins.co.uk - Zikula Consulting
birtwistle.me.uk - Personal Blog
Please read the Support Guide
- Moderated by:
- Support
