Try installing it in /app/webroot/xxx, where xxx is a folder that you want your 
app to run in. Then access it via http://yoursite.com/xxx. I have put WordPress 
and all sorts in there without needing to change .htaccess or anything. I have 
also set up a subdomain pointing to that folder and accessed it via 
http://xxx.yoursite.com

Jeremy Burns
[email protected]

On 25 Mar 2010, at 18:50, ltix wrote:

> I need to use a 3rd party app (phpsitemapng), but not sure where to
> install it. I'm using the app to create a site wide sitemap.xml and
> then I will submit it to the search engines.
> 
> If I install it outside of "/app" then I assume I will need to modify
> ".htaccess". Although, I'm having trouble with the correct code in
> ".htaccess" to get it to work (currently my root .htaccess and app/
> webroot/.htaccess haven't been changed; cakephp defaults).
> 
> I then tried moving it to "/app/vendors" and added "App::IMport" to
> core.php
> 
> App::import('Vendor', 'admin/phpsitemapng/index');
> 
> But the issues with this is 1) my website main index isn't called
> (even if I rename this apps' index to index2, index2 is called when I
> go to www.mysite.com), 2) I get an error that the includes in the /add/
> phpsitemapng/index aren't found.
> 
> Is it better to place this app outside of "/app" (e.g /root/admin/
> phpsitemapng) and then modify ".htaccess" accordingly or place it in "/
> app/vendors" and fix the issue with core.php?
> 
> If the 2nd option is best, how to fix the App::import so I can use my
> site URLs and also use phpsitemapng/index?
> 
> Check out the new CakePHP Questions site http://cakeqs.org and help others 
> with their CakePHP related questions.
> 
> You received this message because you are subscribed to the Google Groups 
> "CakePHP" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group at 
> http://groups.google.com/group/cake-php?hl=en
> 
> To unsubscribe from this group, send email to 
> cake-php+unsubscribegooglegroups.com or reply to this email with the words 
> "REMOVE ME" as the subject.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

To unsubscribe from this group, send email to 
cake-php+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to