PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > alt.apache.configuration > with mac os x apache configuration
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
alt.apache.configuration Apache web server configuration issues.

with mac os x apache configuration

Réponse
 
LinkBack Outils de la discussion
Vieux 03/10/2006, 22h47   #1
davidyuzhang@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut with mac os x apache configuration

Hi,

I have an issue with my apache configuration. Right now, when users
omit a trailing slash on the end of the URL, it will bring up a 404 not
found error. How do I make it so the trailing slash is not required?

For example:

http://as.ucsd.edu - works
http://as.ucsd.edu/finance - does not work
http://as.ucsd.edu/finance/ - works
http://as.ucsd.edu/council - does not work
http://as.ucsd.edu/council/ - works

Thanks!
davidyuzhang@gmail.com

  Réponse avec citation
Vieux 04/10/2006, 08h20   #2
Davide Bianchi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: with mac os x apache configuration

On 2006-10-03, davidyuzhang@gmail.com <davidyuzhang@gmail.com> wrote:
> I have an issue with my apache configuration. Right now, when users
> omit a trailing slash on the end of the URL, it will bring up a 404 not
> found error. How do I make it so the trailing slash is not required?


Every web master could sing a song about traling slashes (or lack of),
in the Apache docs there are a number of examples of how to use
mod_rewrite to circumvent the problem. Have a look at those and see if
any of them fit your needs.

Davide

--
!07/11 PDP a ni deppart m'I !pleH
  Réponse avec citation
Vieux 04/10/2006, 09h03   #3
davidyuzhang@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: with mac os x apache configuration

Thanks Davide for the tip, I'll take a look a the docs and I'll see if
any of them will work for me.

Davide Bianchi wrote:
> On 2006-10-03, davidyuzhang@gmail.com <davidyuzhang@gmail.com> wrote:
> > I have an issue with my apache configuration. Right now, when users
> > omit a trailing slash on the end of the URL, it will bring up a 404 not
> > found error. How do I make it so the trailing slash is not required?

>
> Every web master could sing a song about traling slashes (or lack of),
> in the Apache docs there are a number of examples of how to use
> mod_rewrite to circumvent the problem. Have a look at those and see if
> any of them fit your needs.
>
> Davide
>
> --
> !07/11 PDP a ni deppart m'I !pleH


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 05h58.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08303 seconds with 11 queries