All posts in the topic PA not create user public page. (Short link)
Summary
- There are 6 posts — by 2 authors — in this topic.
- Latest post made by Martin Spernau at Jun 21 15:36 UTC
Hello all ,
I'm trying to deploy PA 1.2pre7 on my local Ubuntu 8.
Everything same ok . But when I try to create new user and go to public page
have error 404 Page not found.
Can somebody help me how to fix this problem ?
Thank all a lot.
namvu80ap,
could you give some details of the paths you installed it to?
Also the URL of your installation's homepage.php compared to the URL for
the user page you get redirected to (thatÄs bot being found) would be
useful (even if it'S local and bot accessible for us)
It's possible that you are seeing an issue with the way oath's are
created in pre7
-Martin
namvu80ap schrieb:
> Hello all ,
>
> I'm trying to deploy PA 1.2pre7 on my local Ubuntu 8.
> Everything same ok . But when I try to create new user and go to public page
have error 404 Page not found.
Hi Martin, I just follow the wiki installation guide. PA - installed in /var/www/pa Homepage - http://localhost/pa/web/homepage.php After create user namvu80ap get error when go to public page Request URL not found - http://localhost/pa/web/users/namvu80ap/ It's working good when I try to use many functions or change to language . But Error when click on any user public page.
> Request URL not found - http://localhost/pa/web/users/namvu80ap/ > > It's working good when I try to use many functions or change to language . But Error when click on any user public page. > > AHA :) This looks like your pache install is possibly missing mod_rewrite There is a .htaccess file in the /web folder that translates the above URL into http://localhost/pa/web/user.php?... style URLs There would be two thing you can do: *) make sure you have mod_rewrite ON *) turn OFF 'fancy URLs' in your local_config.php
Hi Martin ,
It's work.
Note :
1/ the mod_rewrite was On as default in .htaccess
RewriteEngine On
2/ turn Off the "fancy URLs" in default_config.php
$_PA->enable_fancy_url=FALSE
Thank you a lot.
namvu80ap schrieb:
> Hi Martin ,
>
> It's work.
>
>
Cool, glad I could help :)
> Note :
> 1/ the mod_rewrite was On as default in .htaccess
> RewriteEngine On
>
Oh, sorry, maybe I wasn't clear here: What I meant was that you need the
mod_reqrite apache module installed and active in your apache webserver
setup for this .htaccess rule set to work correctly. You would d that in
your /etc/httpd/http.comf or similar configuration files.,
Having a working mod_rewrite is esp important if you are planning to use
PA on a public webserver. FancyURLs are there for a reason.
Also the upcoming features on pre8 will *require* URL rewriting, and if
yiu plan to use that new code once it is public, I recommend you look
into mod_rewrite setup now :)