You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "firepages.com.au" <fi...@firepages.com.au> on 2002/04/17 18:47:43 UTC

AcceptPathInfo win32 apache2

Hi , having problems with my no-loger search-engine friendly URL's with apache2 i.e.

www. whatever.com/this.htm/that/other/

would on apache 1.2.* 'look back' to `this.htm` and have $that & $other neatly packed in $PATH_INFO

according to the manual I have to turn the look back on with AcceptPathInfo - but it does not seem to work, I have tried it everywhere in the httpd.conf and .htaccess etc , trying all options (on|off|default) , but it seems pretty much ignored, I assume it is part of the core directives so I assume I need no extra mods....

can anyone at least confirm that this feature works for them on win32 ? & if anyone has any ideas on where to kick it ?

WInXP&2K apache 2.0.35 default config

Regards,
Simon Wheeler
firepages

(ps : I am not looking for an alternative method rewriting or error catching etc)

RE: Multiple websites on one IP address?

Posted by Sebastian Wolfgarten <se...@gmx.net>.
hi dave,

take a look at the namevirtualhost
directive and the apache docs.
also try searching google!

bye,
sebastian



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Multiple websites on one IP address?

Posted by Dave Bartmess <di...@edingo.net>.
I'm a relative newbie to Linux, and definitely to Apache. I'm trying to
figure out (and I've read the docs and faqs and archived messages)
whether I can do a multiple website webserver on one single IP address.

Basically, I'm trying to create two websites, one personal, and one
company, for testing purposes before I put it on the respective ISP's
webhost servers. 

But everything I've tried comes up badly. My httpd.conf (the relevant
parts, I think) is below, but no matter what I do, I can't get both
websites to act independently. Either they both point to the base
DocRoot folder for the <VirtualHost *> statement, or they both tell me I
don't have permission to see the file(s). 

Please help.. I'm lost in documentation!!

### Main Configuration Section
### You really shouldn't change these settings unless you're a guru
###
NameVirtualHost *
Options ExecCgi Includes FollowSymlinks
ServerType standalone
ServerRoot /etc/httpd
ServerName dingo.home
LockFile /etc/httpd/httpd.lock
PidFile /var/run/httpd.pid
ScoreBoardFile /etc/httpd/httpd.scoreboard
ErrorLog logs/error_log
LogLevel warn
ResourceConfig /dev/null
AccessConfig /dev/null
DocumentRoot /var/www/html

<Directory /var/www/html/its/>
	Options ExecCgi Includes FollowSymlinks
	allow from 10.0.0. 127.0.0.1
</Directory>
<Directory /var/www/html/edingo.net/*>
	Options ExecCgi Includes FollowSymlinks
	require valid-user
	allow from 10.0.0. 127.0.0.1
	AllowOverride AuthConfig Options
</Directory>

<VirtualHost *>
	Options ExecCgi Includes FollowSymlinks
	DirectoryIndex default.htm default.html index.htm index.html 	UserDir
enabled root user1 user2
	ServerName dingo.home
	DocumentRoot /var/www/html/
</VirtualHost>

<VirtualHost *>
	Options ExecCgi Includes FollowSymlinks
	DirectoryIndex default.htm default.html index.htm index.html  	UserDir
enabled root user1 user2
	ServerName edingo.home
	ServerAlias www.edingo.home
	ServerPath /edingo.net/
	DocumentRoot /var/www/html/edingo.net/
</VirtualHost>

<VirtualHost *>
	Options ExecCgi Includes FollowSymlinks
	DirectoryIndex default.htm default.html index.htm index.html 	UserDir
enabled root user1 user2
	ServerName its.home
	ServerAlias www.its.home
	ServerPath /its.home/
	DocumentRoot /var/www/html/its/
</VirtualHost>



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: AcceptPathInfo win32 apache2

Posted by Joshua Slive <jo...@slive.ca>.
On Thu, 18 Apr 2002, firepages.com.au wrote:

> can anyone at least confirm that this feature works for them on win32 ?
> & if anyone has any ideas on where to kick it ?

Sorry, but I can only confirm that it is not working the way I think it
should.  I've only tried on win32.  Has anyone tried AcceptPathInfo on
unix?

I suggest you report this as a bug.

Joshua.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: AcceptPathInfo win32 apache2

Posted by Jess Planck <ev...@mac.com>.
I noticed this was being reproduced across multiple platforms, so I 
reported this bug to the PHP group a couple of days ago.

http://bugs.php.net/bug.php?id=16622 (pretty lame report, but it was the 
best I could do)

Today I checked with them on the PHP-DEV list, and they are looking at 
it.

jess

On Wednesday, April 17, 2002, at 11:47 AM, firepages.com.au wrote:

> Hi , having problems with my no-loger search-engine friendly URL's with 
> apache2 i.e.
>  
> www. whatever.com/this.htm/that/other/
>  
> would on apache 1.2.* 'look back' to `this.htm` and have $that & $other 
> neatly packed in $PATH_INFO
>  
> according to the manual I have to turn the look back on with 
> AcceptPathInfo - but it does not seem to work, I have tried it 
> everywhere in the httpd.conf and .htaccess etc , trying all options 
> (on|off|default) , but it seems pretty much ignored, I assume it is 
> part of the core directives so I assume I need no extra mods....
>  
> can anyone at least confirm that this feature works for them on 
> win32 ? & if anyone has any ideas on where to kick it ?
>  
> WInXP&2K apache 2.0.35 default config
>  
> Regards,
> Simon Wheeler
> firepages
>  
> (ps : I am not looking for an alternative method rewriting or error 
> catching etc)