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&...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
>
> 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 |
|
|||
|
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 |
|
|||
|
"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 |
|
|||
|
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 |
|
|||
|
> > > 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 |