WordPress blocking www/install.php?
2016-05-05 05:07:36
jake
  • Visit: 2
  • Join Date: 2016-05-05
  • Last Login: 2016-05-05
  • My Point: 0
  • PartyLevel: No Party

Hello


Want to know if you have any ideas why my other php sites (SuiteCrm, Adimino, qdPM, X2) work ok residing on my WordPress site but when I go to


http://www.mulikids.org/zentaopms/

OR

http://www.mulikids.org/zentaopms/www/install.php


to try to install I get a Page not found / 404 Error from WordPress?


Tried both Softaculous and manual unzip installs.


Thx for any help.


2016-05-05 11:20:26
chunge

I don't try install zentaopms under wordpress yet.

Perhaps there're some url rewrite rules under wordpress which block the www path in zentao.

If you can control the apache server or nginx server, you can try add an alias in the config file like this:



# setting for zentaopms.
Alias /zentao "/the path to/zentaopms/www/"
<Directory "/the path to zentaopms/www">
  Order deny,allow
  Allow from all
  AllowOverride All
  Require all granted
</Directory>
then you can access zentao by the url: http://www.mulikids.org/zentao/


Perhaps you should change the .htaccess file in zentaopms/www/


<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteCond %{REQUEST_FILENAME} !-d 
  RewriteCond %{REQUEST_FILENAME} !-f 
  RewriteRule (.*)$ index.php/$1 [L]
</IfModule>

change the RewriteRule (.*)$ index.php/$1 [L] to RewriteRule (.*)$ /zentao/index.php/$1 [L]


Also you can add a virtual server in your webserver like this:

<VirtualHost *:80>
  ServerAdmin [email protected]
  DocumentRoot "/path to zentaopms/www"
  ServerName zentao.mulikids.org
  <Directory />
    AllowOverride all
    Require all granted
  </Directory>
  ErrorLog "logs/error_log"
  CustomLog "logs/access_log" combind
</VirtualHost>



2016-05-06 05:42:39
jake
  • Visit: 2
  • Join Date: 2016-05-05
  • Last Login: 2016-05-05
  • My Point: 0
  • PartyLevel: No Party

Thx but none of this worked.

I am not installing as part of wordpress, just shares the server as my package doesn't have sub domain ability

Using a shared server

If I move everything out from under the www folders what will I need to fix?  My other apps dont have this extra layer...

#3
2016-05-06 06:11:55
jake
  • Visit: 2
  • Join Date: 2016-05-05
  • Last Login: 2016-05-05
  • My Point: 0
  • PartyLevel: No Party
Reply
 RewriteRule (.*)$ /zentao/index.php/$1 [L]

should this be

RewriteRule (,*)$  /zentaopms/....?

#4
2016-05-06 09:54:25
chunge

you can try to remove .htaccess under zentaopms/www/

or change the rewrite url to /zentaopms/www/

May some rewrite rules of wordpress confilcs with zentao.

#5
2016-05-07 00:11:46
jake
  • Visit: 2
  • Join Date: 2016-05-05
  • Last Login: 2016-05-05
  • My Point: 0
  • PartyLevel: No Party

That didn't work either, bummer because I really liked the demo and how the program works.  Want to use it for a current project I am working on for a major hospital so I was really wanting to use it.


There are 74,652,825 WordPress sites and 13,437,508 are self hosted so hopefully in the future you can add a section on how to install Zentao in a shared server with WP.  Thx for trying.

Last edited by jake on 2016-05-07 00:12:39
#6
2016-05-09 09:00:13
chunge
OK, I will test it.
#7
2016-05-09 17:14:32
chunge

We have tried on my server, it's ok.

So, perhaps it's the problem of the shared server.

You can add my skype: [email protected]

I can check the server by remote.

Last edited by chunge on 2016-05-09 17:20:18
#8
2016-05-09 17:20:58
chunge

The wordpress:http://wp.it603.com:8080/

17:11

Zentao:http://wp.it603.com:8080/zentaopms/www/

#9
2016-05-11 17:45:46
chunge

If you trust me, you can tell me the administrator account and password to my email, I will check it.

my email: [email protected]

Last edited by chunge on 2016-05-11 17:46:04
1/1