Forums / Install & configuration / Cannot access http://localhost/ezpublish/index.php/whatever. "No input file specified"

Cannot access http://localhost/ezpublish/index.php/whatever. "No input file specified"

Author Message

John Hollister

Thursday 12 February 2004 4:53:38 pm

1. my environment: Winbook Z1, Windows 2000, Apache 1.3, PHP 4.3.4 CGI, eZpublish 3.3-3.

2. The eZpublish setup wizard tells me to set "AcceptPathInfo On" in httpd.conf. However, (1)AcceptPathInfo is used in Apache 2, not 1.3, and (2)The installation manual states "Currently, only the Apache web server is supported; the latest version of the 1.3 branch should be used. Version 2.0 works, but it has not been fully tested."

3. PATH_INFO is enabled by default in Apache 1.3, however, PHP 4.3.4 does not report it properly. Refer to the following tests:

test script - foo.php:
<?
echo "<br/><br/>PATH_INFO: " . $_ENV['PATH_INFO'];
?>

test URL - http://localhost/foo.php :
got: PATH_INFO: /foo.php
expected: <empty>

test URL - http://localhost/foo.php/bar :
got: No input file specified.
expected: /bar

4. After installing eZpublish using the setup wizard, electing to ignore the AcceptPathInfo test (can't use it for Apache 1.3), and following the directions in the building.pdf document to install a Plain site, I find that I can't access either the User site (http://localhost/ezpublish/index.php/plain) or the Admin site (http://localhost/ezpublish/index.php/plain_admin). My browser displays "No input file specified" in both cases.

5. I've searched the php bug site and can't find anything covering PHP, Apache 1.3, and PATH_INFO problems.

Does anyone know how to get eZpublish working in this environment?

Thanks in advance.

John Hollister

Vidar Langseid

Friday 13 February 2004 4:12:44 am

eZ publish dosen't support PHP running as CGI at the moment

Best regards,
Vidar

ashok ashok

Wednesday 14 April 2004 1:54:58 am

i have download and installed ezpublish-3[2].3-4.zip.I installed it on my
local machine. After installing ezpublish had showed two links i.e user
site(http://localhost/ezpublish/index.php/corporate) and admin site
(http://localhost/ezpublish/index.php/corporate_admin). But When i clicked
to these url it shows me "page cannot be displayed".Did i missed something
to install or should i have not make changes in some configure file.What
should i do to make these links runnable.
I am using
1)Apache 2.0 (installed on c:\apache\)
2)Php4.3.5 (Installed on c:\php\)
3)mysql 4.0.18 (Installed on c:\mysql\)

I have also set the Acceptpathinfo on in my httpd.conf file Here is the
code

 
<Files ~ "^\.ht"> 
    Order allow,deny 
    Deny from all 
AcceptPathInfo On 
</Files> 
<Directory "C:/apache/Apache2/manual"> 
    Options Indexes 
    AllowOverride None 
    Order allow,deny 
    Allow from all 

    <Files *.html> 
        SetHandler type-map 
        AcceptPathInfo On 
    </Files> 

    <Files ~ "\.php$"> 
    AcceptPathInfo On 
    </Files> 
     

    SetEnvIf Request_URI ^/manual/de/ prefer-language=de 
    SetEnvIf Request_URI ^/manual/en/ prefer-language=en 
    SetEnvIf Request_URI ^/manual/fr/ prefer-language=fr 
    SetEnvIf Request_URI ^/manual/ja/ prefer-language=ja 
    SetEnvIf Request_URI ^/manual/ko/ prefer-language=ko 
    SetEnvIf Request_URI ^/manual/ru/ prefer-language=ru 
    RedirectMatch 301 ^/manual(?:/(de|en|fr|ja|ko|ru)){2,}(/.*)?$ 
/manual/$1$2 
</Directory> 


But still It links are not working. Please tell me where i have done
mistake.Please give me comments/soultion as soon as possible .It is very Urgent

Thanks
Ashok