how to transfer dot in mod_rewrite?How to use mod_rewrite with Zend Framework?How to enable mod_rewrite for Apache 2.2Mod_rewrite and MySqlApache mod_rewrite issueredirect (mod_rewrite) specific page to new domainmod_rewrite does not redirect to my internal urlDifficult problems with mod_rewrite.htaccess mod_rewrite loopmod_rewrite results in err_too_many_redirectsHow to allow a dot (.) in htaccess?

Why was my Canon Speedlite 600EX triggering other flashes?

Is it wrong to omit object pronouns in these sentences?

Why did the metro bus stop at each railway crossing, despite no warning indicating a train was coming?

Why are BJTs common in output stages of power amplifiers?

Why do the lights go out when someone enters the dining room on this ship?

Can I say: "When was your train leaving?" if the train leaves in the future?

Is it safe to use two single-pole breakers for a 240 V circuit?

Do we have C++20 ranges library in GCC 9?

How do I identify the partitions of my hard drive in order to then shred them all?

Is Valonqar prophecy unfulfilled?

is it correct to say "When it started to rain, I was in the open air."

Developers demotivated due to working on same project for more than 2 years

Should generated documentation be stored in a Git repository?

White foam around tubeless tires

Extract the characters before last colon

Filter a data-frame and add a new column according to the given condition

Find the unknown area, x

Would life always name the light from their sun "white"

Is 12 minutes connection in Bristol Temple Meads long enough?

Why did the soldiers of the North disobey Jon?

What is this old US Air Force plane?

Was the dragon prowess intentionally downplayed in S08E04?

Help understanding this line - usage of くれる

How to not get blinded by an attack at dawn



how to transfer dot in mod_rewrite?


How to use mod_rewrite with Zend Framework?How to enable mod_rewrite for Apache 2.2Mod_rewrite and MySqlApache mod_rewrite issueredirect (mod_rewrite) specific page to new domainmod_rewrite does not redirect to my internal urlDifficult problems with mod_rewrite.htaccess mod_rewrite loopmod_rewrite results in err_too_many_redirectsHow to allow a dot (.) in htaccess?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I want to design a RewriteRule for the URL beta2.0/user/11 to beta2.0/user.php?11 and my .htaccess rule is



RewriteRule ^beta2.0/user/([0-9]*)$ /beta2.0/user.php?user_id=$1 [L]


however the RewriteRule not work, is there any problem in my Rule? And the problem is in the dot in the original url










share|improve this question
























  • Are you using this in an htaccess or in server.config file?

    – starkeen
    Mar 23 at 15:54











  • @starkeen in an htaccess and I'm sure the problem is about the . (dot)

    – xiaolun
    Mar 23 at 16:00











  • What error do you get when you go to example. com/beta2.0/user/11 ?

    – starkeen
    Mar 23 at 16:05












  • @starkeen there is no any error.. just not work

    – xiaolun
    Mar 24 at 3:07

















0















I want to design a RewriteRule for the URL beta2.0/user/11 to beta2.0/user.php?11 and my .htaccess rule is



RewriteRule ^beta2.0/user/([0-9]*)$ /beta2.0/user.php?user_id=$1 [L]


however the RewriteRule not work, is there any problem in my Rule? And the problem is in the dot in the original url










share|improve this question
























  • Are you using this in an htaccess or in server.config file?

    – starkeen
    Mar 23 at 15:54











  • @starkeen in an htaccess and I'm sure the problem is about the . (dot)

    – xiaolun
    Mar 23 at 16:00











  • What error do you get when you go to example. com/beta2.0/user/11 ?

    – starkeen
    Mar 23 at 16:05












  • @starkeen there is no any error.. just not work

    – xiaolun
    Mar 24 at 3:07













0












0








0








I want to design a RewriteRule for the URL beta2.0/user/11 to beta2.0/user.php?11 and my .htaccess rule is



RewriteRule ^beta2.0/user/([0-9]*)$ /beta2.0/user.php?user_id=$1 [L]


however the RewriteRule not work, is there any problem in my Rule? And the problem is in the dot in the original url










share|improve this question
















I want to design a RewriteRule for the URL beta2.0/user/11 to beta2.0/user.php?11 and my .htaccess rule is



RewriteRule ^beta2.0/user/([0-9]*)$ /beta2.0/user.php?user_id=$1 [L]


however the RewriteRule not work, is there any problem in my Rule? And the problem is in the dot in the original url







apache mod-rewrite






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 23 at 15:53









starkeen

31.7k156281




31.7k156281










asked Mar 23 at 14:22









xiaolunxiaolun

84




84












  • Are you using this in an htaccess or in server.config file?

    – starkeen
    Mar 23 at 15:54











  • @starkeen in an htaccess and I'm sure the problem is about the . (dot)

    – xiaolun
    Mar 23 at 16:00











  • What error do you get when you go to example. com/beta2.0/user/11 ?

    – starkeen
    Mar 23 at 16:05












  • @starkeen there is no any error.. just not work

    – xiaolun
    Mar 24 at 3:07

















  • Are you using this in an htaccess or in server.config file?

    – starkeen
    Mar 23 at 15:54











  • @starkeen in an htaccess and I'm sure the problem is about the . (dot)

    – xiaolun
    Mar 23 at 16:00











  • What error do you get when you go to example. com/beta2.0/user/11 ?

    – starkeen
    Mar 23 at 16:05












  • @starkeen there is no any error.. just not work

    – xiaolun
    Mar 24 at 3:07
















Are you using this in an htaccess or in server.config file?

– starkeen
Mar 23 at 15:54





Are you using this in an htaccess or in server.config file?

– starkeen
Mar 23 at 15:54













@starkeen in an htaccess and I'm sure the problem is about the . (dot)

– xiaolun
Mar 23 at 16:00





@starkeen in an htaccess and I'm sure the problem is about the . (dot)

– xiaolun
Mar 23 at 16:00













What error do you get when you go to example. com/beta2.0/user/11 ?

– starkeen
Mar 23 at 16:05






What error do you get when you go to example. com/beta2.0/user/11 ?

– starkeen
Mar 23 at 16:05














@starkeen there is no any error.. just not work

– xiaolun
Mar 24 at 3:07





@starkeen there is no any error.. just not work

– xiaolun
Mar 24 at 3:07












1 Answer
1






active

oldest

votes


















1














I assume your .htaccess is located in the same level as beta2.0 directory.



root
+---.htaccess
+--- beta2.0/
+---user.php


Place the following into .htaccess



RewriteEngine On
RewriteBase /
RewriteRule beta2.0/user/([0-9]+) "/beta2.0/user.php?user_id=$1"





share|improve this answer

























  • However it's still not working to my condition. -_-

    – xiaolun
    Mar 24 at 3:15











  • When I remove the dot (just 20 not 2.0) it's working correctly , however , as I add the dot to 2.0 it's not working...

    – xiaolun
    Mar 24 at 3:16











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55314678%2fhow-to-transfer-dot-in-mod-rewrite%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














I assume your .htaccess is located in the same level as beta2.0 directory.



root
+---.htaccess
+--- beta2.0/
+---user.php


Place the following into .htaccess



RewriteEngine On
RewriteBase /
RewriteRule beta2.0/user/([0-9]+) "/beta2.0/user.php?user_id=$1"





share|improve this answer

























  • However it's still not working to my condition. -_-

    – xiaolun
    Mar 24 at 3:15











  • When I remove the dot (just 20 not 2.0) it's working correctly , however , as I add the dot to 2.0 it's not working...

    – xiaolun
    Mar 24 at 3:16















1














I assume your .htaccess is located in the same level as beta2.0 directory.



root
+---.htaccess
+--- beta2.0/
+---user.php


Place the following into .htaccess



RewriteEngine On
RewriteBase /
RewriteRule beta2.0/user/([0-9]+) "/beta2.0/user.php?user_id=$1"





share|improve this answer

























  • However it's still not working to my condition. -_-

    – xiaolun
    Mar 24 at 3:15











  • When I remove the dot (just 20 not 2.0) it's working correctly , however , as I add the dot to 2.0 it's not working...

    – xiaolun
    Mar 24 at 3:16













1












1








1







I assume your .htaccess is located in the same level as beta2.0 directory.



root
+---.htaccess
+--- beta2.0/
+---user.php


Place the following into .htaccess



RewriteEngine On
RewriteBase /
RewriteRule beta2.0/user/([0-9]+) "/beta2.0/user.php?user_id=$1"





share|improve this answer















I assume your .htaccess is located in the same level as beta2.0 directory.



root
+---.htaccess
+--- beta2.0/
+---user.php


Place the following into .htaccess



RewriteEngine On
RewriteBase /
RewriteRule beta2.0/user/([0-9]+) "/beta2.0/user.php?user_id=$1"






share|improve this answer














share|improve this answer



share|improve this answer








edited Mar 23 at 19:10

























answered Mar 23 at 16:38









olegsvolegsv

1,0551016




1,0551016












  • However it's still not working to my condition. -_-

    – xiaolun
    Mar 24 at 3:15











  • When I remove the dot (just 20 not 2.0) it's working correctly , however , as I add the dot to 2.0 it's not working...

    – xiaolun
    Mar 24 at 3:16

















  • However it's still not working to my condition. -_-

    – xiaolun
    Mar 24 at 3:15











  • When I remove the dot (just 20 not 2.0) it's working correctly , however , as I add the dot to 2.0 it's not working...

    – xiaolun
    Mar 24 at 3:16
















However it's still not working to my condition. -_-

– xiaolun
Mar 24 at 3:15





However it's still not working to my condition. -_-

– xiaolun
Mar 24 at 3:15













When I remove the dot (just 20 not 2.0) it's working correctly , however , as I add the dot to 2.0 it's not working...

– xiaolun
Mar 24 at 3:16





When I remove the dot (just 20 not 2.0) it's working correctly , however , as I add the dot to 2.0 it's not working...

– xiaolun
Mar 24 at 3:16



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55314678%2fhow-to-transfer-dot-in-mod-rewrite%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript