Forums / Install & configuration / Problems with AcceptPathInfo

Problems with AcceptPathInfo

Author Message

Linas Adomas

Sunday 31 July 2005 10:16:25 am

During my instalation I get warning "1. AcceptPathInfo disabled or running in CGI mode"
As I understand reading the forum that there is problem with apachi configuration.

As I dont have access to my apachi configuration file, because I am using hosting from one company, I created htaccess file with such configurtion:
<Files ".">
Options +Includes
SetOutputFilter INCLUDES
AcceptPathInfo On
</Files>
Does this file contains correct configuration?
Because if I try to access my page then htaccess file is enabled I get 500 error.
And there is problem with all the htaccess files, despite what I write in it I am getting 500 error.
Could anyone help me with this problem?
This is not the first time I am in such situation, before I solved it by chosing another CMS, but this time I want to know could I solve this problem.
Ez link :
http://www.sandanegolf.no/new2/index.php
PhpInfo:
http://www.sandanegolf.no/info.php
Thanks

Łukasz Serwatka

Sunday 31 July 2005 11:32:33 pm

Hi Linas,

You have CGI version of PHP , this is not recommend for eZ publish. Your websites works when you access links like

http://www.sandanegolf.no/new2/index.php?/plain/news

More you can read here:

http://ez.no/products/ez_publish_cms/documentation/configuration/configuration/ez_publish_running_on_a_cgi_version_of_php

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Linas Adomas

Monday 01 August 2005 4:46:23 am

Thanks Lukasz about information, now I see my problem, but in the article that you gave link I havent fond how to solve it. Could you explain me where should i put these lines mentioned in the article :

ScriptAlias /php/ /usr/local/bin/
AddType application/x-httpd-php .php
Action application/x-httpd-php /php/php-cgi

I have no access to the server configuration files. Could I solve it somehow different?

Thanks,
Linas

Linas Adomas

Wednesday 03 August 2005 3:14:56 am

Does anybody knows there should I write configuration lines mentioned above?
Or it is inposible to change something?
Thanks for any comments.

Łukasz Serwatka

Wednesday 03 August 2005 4:46:02 am

Your PHP works correctly, you don`t have to add this configuration lines in httpd.conf (Apache config file). What version on Apache is running on your server? If 1.3 than ignore message "1. AcceptPathInfo disabled or running in CGI mode" and remove .htaccess file with AcceptPathInfo On. eZ publish should autmaticly convert URL to index.php?/something/like/this, but you will need run insallation in non-virtual host mode.

I strongly not recommend use eZ publish with PHP in CGI mode, if you are looking recommend eZ publish hosting look here http://ez.no/partner/partner_list/(partner)/hosting/(sort)

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

James Ashley

Tuesday 16 August 2005 2:47:48 pm

Linas:

I'm not sure about software versions and such, but I beat my head against a while last night trying to solve this. I had accept_path_info on, and I knew I was not in CGI mode.

The problem I encountered (Apache 2) is that the test for this (ez 3.7.0.rc1) requires php.ini to have allow_url_open turned On. Not that it bothers to check this.

If this is strictly a 3.7 problem, I have nothing to complain about, though it would be nice if there were some direct way to report it to the developers so it doesn't make it into release code.

If it's in 3.6, it's just another example of the carelessness they've taken with the setup.

eZ debug

Timing: Jan 18 2025 16:09:27
Script start
Timing: Jan 18 2025 16:09:27
Module start 'content'
Timing: Jan 18 2025 16:09:27
Module end 'content'
Timing: Jan 18 2025 16:09:27
Script end

Main resources:

Total runtime0.1627 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 588.9609180.8281
Module start 'content' 0.00630.0047 769.789197.9141
Module end 'content' 0.01100.1516 867.7031527.8047
Script end 0.1626  1,395.5078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00352.1382200.0002
Check MTime0.00140.8612200.0001
Mysql Total
Database connection0.00080.506010.0008
Mysqli_queries0.116071.29261410.0008
Looping result0.00150.94191390.0000
Template Total0.151393.010.1513
Template load0.00090.582210.0009
Template processing0.150492.438910.1504
Override
Cache load0.00070.418610.0007
Sytem overhead
Fetch class attribute can translate value0.00080.482610.0008
XML
Image XML parsing0.00030.173410.0003
General
dbfile0.00281.7103200.0001
String conversion0.00000.003130.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs