Re: full path link required question

This is a discussion on Re: full path link required question within the Apache Web Server forums, part of the Web Server and Related Forums category; In article <I7RSa.328$3t4.60@newsfep1-gui.server.ntli.net>, "David" <no@spamthanks.com&...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-21-2003
patpro
 
Posts: n/a
Default Re: full path link required question

In article <I7RSa.328$3t4.60@newsfep1-gui.server.ntli.net>,
"David" <no@spamthanks.com> wrote:

> on the old sever (Cobalt) I could link with www.tradetiler.com/knee
>
> now I have to link with www.tradetiler.com/knee.htm
>
> Any ideas?



I think what you're looking for is the option "multiviews" :

(from apache doc)
The effect of MultiViews is as follows: if the server receives a
request for /some/dir/foo, if /some/dir has MultiViews enabled,
and /some/dir/foo does not exist, then the server reads the
directory looking for files named foo.*, and effectively fakes
up a type map which names all those files, assigning them the
same media types and content-encodings it would have if the client
had asked for one of them by name. It then chooses the best match
to the client's requirements.


patpro
  #2 (permalink)  
Old 07-21-2003
David
 
Posts: n/a
Default Re: full path link required question

>
> I think what you're looking for is the option "multiviews" :
>
> (from apache doc)
> The effect of MultiViews is as follows: if the server receives a
> request for /some/dir/foo, if /some/dir has MultiViews enabled,
> and /some/dir/foo does not exist, then the server reads the
> directory looking for files named foo.*, and effectively fakes
> up a type map which names all those files, assigning them the
> same media types and content-encodings it would have if the client
> had asked for one of them by name. It then chooses the best match
> to the client's requirements.
>
>
> patpro


My host came back with:-
--------
Dear David,

Unfortunately we are not able to change the configuration
of the server setup in this way, so it look like you will
have to add the file extensions on your pages.

-------

This bad news if I want to tell someone verbally what page to visit

David


  #3 (permalink)  
Old 07-21-2003
patpro
 
Posts: n/a
Default Re: full path link required question

In article <RgZSa.1658$JD4.297@newsfep3-gui.server.ntli.net>,
"David" <no@spamthanks.com> wrote:

> >
> > I think what you're looking for is the option "multiviews" :

>
> My host came back with:-
> --------
> Dear David,
>
> Unfortunately we are not able to change the configuration
> of the server setup in this way, so it look like you will
> have to add the file extensions on your pages.
> -------



try to just put a .htaccess file at the root of your web site, with :

Options +Multiviews

if your hosting is set to "AllowOverride ALL", then it will be ok for
..htaccess options.

patpro
  #4 (permalink)  
Old 07-22-2003
David
 
Posts: n/a
Default Re: full path link required question


"patpro" <patpro@elena.patpro.net> wrote in message
news:patpro-F30507.00422922072003@biggoron.nerim.net...
> In article <RgZSa.1658$JD4.297@newsfep3-gui.server.ntli.net>,
> "David" <no@spamthanks.com> wrote:
>
> > >
> > > I think what you're looking for is the option "multiviews" :

> >
> > My host came back with:-
> > --------
> > Dear David,
> >
> > Unfortunately we are not able to change the configuration
> > of the server setup in this way, so it look like you will
> > have to add the file extensions on your pages.
> > -------

>
>
> try to just put a .htaccess file at the root of your web site, with :
>
> Options +Multiviews
>
> if your hosting is set to "AllowOverride ALL", then it will be ok for
> .htaccess options.
>
> patpro


what is htaccess

I only get to se the control panel (cpanel5)

via ftp I only get to see as far up as public_ftp, public_html and www
folders plus a few other stats bits in the root dir

David


  #5 (permalink)  
Old 07-22-2003
patpro
 
Posts: n/a
Default Re: full path link required question

In article <bI_Sa.1956$JD4.1047@newsfep3-gui.server.ntli.net>,
"David" <no@spamthanks.com> wrote:

> > try to just put a .htaccess file at the root of your web site, with :
> >
> > Options +Multiviews
> >
> > if your hosting is set to "AllowOverride ALL", then it will be ok for
> > .htaccess options.
> >
> > patpro

>
> what is htaccess
>
> I only get to se the control panel (cpanel5)
>
> via ftp I only get to see as far up as public_ftp, public_html and www
> folders plus a few other stats bits in the root dir



at the same level of your index.php/html, just create a file named
..htaccess (the dot is important) and write "Options +Multiviews" into it.
..htaccess files are a simple way to customize apache behaviour on a per
directory basis. Almost every apache directive you find in httpd.conf
can be tunned/overridden in .htaccess file. It allows customization
without modifying the httpd.conf (so without admin priviledges on the
server).

patpro
  #6 (permalink)  
Old 07-22-2003
David
 
Posts: n/a
Default Re: full path link required question


>
>
> at the same level of your index.php/html, just create a file named
> .htaccess (the dot is important) and write "Options +Multiviews" into it.
> .htaccess files are a simple way to customize apache behaviour on a per
> directory basis. Almost every apache directive you find in httpd.conf
> can be tunned/overridden in .htaccess file. It allows customization
> without modifying the httpd.conf (so without admin priviledges on the
> server).
>
> patpro



patpro you are wonderfull it worked a treat

Useless hosts will be getting an email

David


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:32 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0