Authpuppy on hosting site

Asked by Tim Anderson

Hello,

Im new to this so, my problem is that I installed authpuppy on hosting site (ipage) everything seems to be working fine except that
to login or make it work I need to use link like "http://ihost/frontend_dev.php/logindoctrine"
looks like when mod_rewrite are not enabled on local host, how to enable it on hosting site ?

Question information

Language:
English Edit question
Status:
Answered
For:
AuthPuppy Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Robin Jones (robin-networkfusion) said :
#1

please can you provide more information:

what Operating system is it: windows with IIS 7, or apache?

do you have root access?

is it shared hosting, or a virtual private server?

if it is shared hosting, you will probably need to get in touch with ipage support as to whether they support mod_rewrite.

Revision history for this message
Tim Anderson (tim-villapizza) said :
#2

I sent this questions to ipage support and waiting for answer
, but I have shared hosting not VPS,
Some tech parameters

Platform Type: Debian
MySQL Version: 5.0.83
PHP Version: 5.2.12
Document Root: /home/users/web/b627/ipg.mypage
Perl Version: 5.8.8

Revision history for this message
Tim Anderson (tim-villapizza) said :
#3

I got answer from ipage support team:
"Hello,

Based on the server requirements on the page at http://trac.symfony-project.org/wiki/InstallingSymfonyOnSharedHostNoSsh the application should work on our servers just fine.

In regards to mod_rewrite, you can enable it in your .htaccess file. Our web server software is Apache 2."

Revision history for this message
Tim Anderson (tim-villapizza) said :
#4

one more thing, if i type http://ihost/authpuppy/index.php/login it works fine until I press login button it goes to http://ihost/authpuppy/login and shows error page 404: Not Found

Revision history for this message
Robin Jones (robin-networkfusion) said :
#5

ok, I see your problem...

at the moment Authpuppy can only work as a root URL e.g. www.yourdomain.com/index.php if you need to access it via a sub folder e.g. www.yourdomain.com/authpuppy/index.php then there is problems with the routing.

This is a known bug and should be fixed in the next release...

Revision history for this message
gbastien (gbastien02) said :
#6

The problem of non-root is only for the preinstall script. It works fine like this.

Do you have the mod_rewrite enabled when you have this problem?

In the .htaccess, you'll see this line
#RewriteBase /

Try uncommenting it and putting
RewriteBase /authpuppy/

and see if it works

Can you help with this problem?

Provide an answer of your own, or ask Tim Anderson for more information if necessary.

To post a message you must log in.