Forums / Install & configuration / Apache Configuration

Apache Configuration

Author Message

Alexis Konstantopoulos

Thursday 15 May 2003 4:58:12 am

Hello
I have some problems with the configuration of apache 2.0.4
I have install the demo version and i can see the demo homepage, but when i click on any link on the page i get :
"Not Found
The requested URL /ezpublish/index.php/demo/content/view/full/114/ was not found on this server."

Does anyone now how to configure apache correctly?
I cant find anything an the manual regarding apache configuration.

I think that many people have the same problem with me.

Thanks

Huib Kleinhout

Thursday 15 May 2003 5:02:47 am

For apache 2 you need to turn AcceptPathInfo on in the configuration file:
http://ez.no/developer/ez_publish_3/documentation/ez_publish_3/typical_problems_and_solutions/ez_publish_3_and_apache_2

Alexis Konstantopoulos

Thursday 15 May 2003 5:11:58 am

the configuration i have is :
VirtualHost 10.218.32.69>
<Directory /var/www/html/ezpublish/>
Options FollowSymLinks Indexes ExecCGI
AllowOverride None
</Directory>
RewriteEngine On
RewriteRule !\.(gif|css|jpg|png)$ /var/www/html/ezpublish/index.php

AcceptPathInfo On

ServerAdmin root@localhost
DocumentRoot /var/www/html/ezpublish/
AcceptPathInfo default
ServerName intranet
</VirtualHost>

Huib Kleinhout

Thursday 15 May 2003 5:57:14 am

I think should put "AcceptPathInfo On" only one time in your virtual host configuration, so remove the second one (AcceptPathInfo default).
Don't forget to restart apache after changing the config file.

Alexis Konstantopoulos

Thursday 15 May 2003 6:15:11 am

I have done it with no result.

I have also downgrade to apache 1.3.27 and i have the same problems (notice that the AcceptPathInfo is supported
for apache 2.0.3 and up)

Karsten Jennissen

Thursday 15 May 2003 6:24:06 am

Do you run PHP as CGI? If so that won't work (only as module). If your PHP memory limit is at 8 oder 10MB, try setting it to 20MB

Karsten

Huib Kleinhout

Thursday 15 May 2003 10:51:00 am

hmmm. You could try to remove everything from between the virtual host tags, except the AcceptPathInfo.
Are you sure you are using 2.0.4? That's a very old and beta release of apache 2. If you are using 2.0.4 you should really upgrade to the current version 2.0.45!