Microsoft Windows: A thirty-two bit extension and graphical shell to a sixteen-bit patch to an eight-bit operating system originally coded for a four-bit microprocessor which was written by a two-bit company that can't stand one bit of competition
Hiermee sloop je tevens wel al je anchors als ze niet absolute paden staan.
[ Voor 60% gewijzigd door RaZ op 28-05-2007 23:04 ]
Ey!! Macarena \o/
1
| Options +MultiViews |
@RaZ
ik zal het eens proberen.
Microsoft Windows: A thirty-two bit extension and graphical shell to a sixteen-bit patch to an eight-bit operating system originally coded for a four-bit microprocessor which was written by a two-bit company that can't stand one bit of competition
Dan kan die code toch ala mod_rewrite uitzonderingen detecteren? Dat lijkt me vrij makkelijk. Misschien verstandig om die php-code even te laten zientombo_inc schreef op maandag 28 mei 2007 @ 23:15:
het punt is dat ik geen gebruik maak van mod_rewrite maar dat ik een eigen php routine heb geschreven die de link parsed.
Edit: oh wacht, dan is er een grote kans dat multiview toch in de weg blijft zitten
[ Voor 10% gewijzigd door Rowanov op 29-05-2007 17:57 ]
om de een of andere reden probeert de browser alles met /index/ achter de root te openen.
vb.
1
2
3
4
5
| //zo zou het moeten http://www.blaat.nl/style/style.css //zo doet de browser het http://www.blaat.nl/index/style/style.css |
hij ziet dus niet dat index, index.php is en geen directory.
@Rowanov
die phpcode heeft er in principe niks mee te maken. die leest alleen maar de url uit en vertaald dat naar de juiste variabelen. het is toch echt die multiview die iets raars doet.
Microsoft Windows: A thirty-two bit extension and graphical shell to a sixteen-bit patch to an eight-bit operating system originally coded for a four-bit microprocessor which was written by a two-bit company that can't stand one bit of competition
Verwijderd
1
| <link href="/style/style.css" rel="stylesheet" etc> |
de link die hij voor de css file maakt is
1
| http://www.blaat.nl/index/style/style.css |
terwijl /index/ er tussenuit moet.
firefox geeft tevens de volgende melding:
"de volgende stylesheet kan niet geladen worden (en dan hier een pad) omdat de MIME type text/html geen text/css is."
Microsoft Windows: A thirty-two bit extension and graphical shell to a sixteen-bit patch to an eight-bit operating system originally coded for a four-bit microprocessor which was written by a two-bit company that can't stand one bit of competition
{signature}
1
| http://www.blaat.nl/ |
stylelink:
1
2
| /style/style.css //ook als je de eerste slash weghaalt werkt het niet. |
Microsoft Windows: A thirty-two bit extension and graphical shell to a sixteen-bit patch to an eight-bit operating system originally coded for a four-bit microprocessor which was written by a two-bit company that can't stand one bit of competition
Microsoft Windows: A thirty-two bit extension and graphical shell to a sixteen-bit patch to an eight-bit operating system originally coded for a four-bit microprocessor which was written by a two-bit company that can't stand one bit of competition
Voutloos vraagt nog specifiek om de relevante code (om welke site het gaat). En jij komt met 2 regels voorbeeld code die gewoon goed werken.
Geef eens wat meer info, waar je mee aan komt is niet genoeg nu.
Ey!! Macarena \o/

ik heb het probleem gevonden. erg stom van me dat ik daar niet meteen aan gedacht heb. het principe met de basehref werkt weldegelijk, als je hem maar op de goede plek zet
bedankt allemaal voor het meedenken.
Microsoft Windows: A thirty-two bit extension and graphical shell to a sixteen-bit patch to an eight-bit operating system originally coded for a four-bit microprocessor which was written by a two-bit company that can't stand one bit of competition