Click here to Skip to main content
15,890,527 members
Home / Discussions / Web Development
   

Web Development

 
Questioncss question. Pin
imbaro21-May-13 5:18
imbaro21-May-13 5:18 
AnswerRe: css question. Pin
Ali Al Omairi(Abu AlHassan)27-May-13 23:53
professionalAli Al Omairi(Abu AlHassan)27-May-13 23:53 
GeneralRe: css question. Pin
David Kroj5-Jun-13 19:56
David Kroj5-Jun-13 19:56 
QuestionUpload file and after period delete the file Pin
ComWeb18-May-13 7:19
ComWeb18-May-13 7:19 
AnswerRe: Upload file and after period delete the file Pin
dusty_dex18-May-13 9:16
dusty_dex18-May-13 9:16 
AnswerRe: Upload file and after period delete the file Pin
Prasad Khandekar21-May-13 5:03
professionalPrasad Khandekar21-May-13 5:03 
QuestionUpload file and after period delete this file Pin
ComWeb18-May-13 7:17
ComWeb18-May-13 7:17 
QuestionUrl Rewriting Pin
Danzy8316-May-13 15:11
Danzy8316-May-13 15:11 
I beginning how to use url rewriting. Now I have this rule in apache (an example) which works fine:



RewriteEngine On
RewriteRule ^register$ register.php



I have also learnt that in order for the rule to accept an ending slash (localhost/register/), the rule should be changed to:

 RewriteRule ^register/?$ register.php

<p></p>


This also loads the register.php page when it is accessed through (http://localhost/register) but when I add the trailing slash (http://localhost/register/), my stylesheet which is in a different directory is not applied in formatting the page. The page thus loads without any formatting.

How can I ensure that the stylesheet is used in formatting the page when there is a forward slash at the end? It is possible for a user to add the slash at the end and so I would like to know a solution. Thanks.

QuestionRe: Url Rewriting Pin
Danzy8316-May-13 15:29
Danzy8316-May-13 15:29 
AnswerRe: Url Rewriting Pin
AspDotNetDev16-May-13 16:10
protectorAspDotNetDev16-May-13 16:10 
QuestionDoes Google black list a website ? Pin
devboycpp16-May-13 1:30
devboycpp16-May-13 1:30 
AnswerRe: Does Google black list a website ? Pin
Richard MacCutchan16-May-13 1:32
mveRichard MacCutchan16-May-13 1:32 
AnswerRe: Does Google black list a website ? Pin
Thomas Daniels17-May-13 6:18
mentorThomas Daniels17-May-13 6:18 
AnswerRe: Does Google black list a website ? Pin
David Kroj26-May-13 23:18
David Kroj26-May-13 23:18 
AnswerRe: Does Google black list a website ? Pin
David Kroj3-Jun-13 1:54
David Kroj3-Jun-13 1:54 
Questionasp.net Pin
vikas8616-May-13 0:03
vikas8616-May-13 0:03 
QuestionRe: asp.net Pin
Rojan Gh.16-May-13 12:28
professionalRojan Gh.16-May-13 12:28 
AnswerRe: asp.net Pin
David Kroj26-May-13 23:28
David Kroj26-May-13 23:28 
QuestionWebsrvice sql for server stored procedure Pin
billythekidney11-May-13 0:16
billythekidney11-May-13 0:16 
AnswerRe: Websrvice sql for server stored procedure Pin
Jasmine250114-May-13 7:03
Jasmine250114-May-13 7:03 
Questionopacity issue with ie6 Pin
rakeshs3129-May-13 20:03
rakeshs3129-May-13 20:03 
AnswerRe: opacity issue with ie6 Pin
Member 1005025413-May-13 21:40
Member 1005025413-May-13 21:40 
GeneralRe: opacity issue with ie6 Pin
rakeshs31214-May-13 17:12
rakeshs31214-May-13 17:12 
AnswerRe: opacity issue with ie6 Pin
Richard Deeming15-May-13 1:48
mveRichard Deeming15-May-13 1:48 
Questionhelp with word wrap please Pin
Jassim Rahma8-May-13 11:08
Jassim Rahma8-May-13 11:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.