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

How to preserve electronics (computers, tablets and phones) for hundreds of years Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) The network's official Twitter account is up and running again. What content…How might modern humans leave a message for 50,000 years?How would an aquatic race develop computers?How do we make computers care for human life?Keeping supplies for 1000 yearsWhat will cell phones become in 100 years?What body armor protects against a laser?Could a society attain 1800s technology if limited to using copper and bronze?Electricity power (magic) and electronicsScavenging metal resources in post-apocalypse after 100 yearsWhy would precursors create devices that can survive and still work after hundreds of years?

155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해

Convert JSON to MapSimplest way to convert a string representing JSON array into Java array List of key value pairsHow to take String JSON values into HashMapConvert a JSON String to a HashMapCreating BSON object from JSON stringJSONObject - How to get a value ?Better Map ConstructorReading JSON from Url javaUpdate columns if input values are not null otherwise ignore and keep the existing values of column in databaseHow to store object represented as Json string into Couchbase Lite?Go JSON into MapHow do I efficiently iterate over each entry in a Java Map?Sort a Map<Key, Value> by valuesHow to round a number to n decimal places in JavaCan comments be used in JSON?How do I read / convert an InputStream into a String in Java?How can I pretty-print JSON in a shell script?What is the correct JSON content type?How can I deserialize JSON to a simple Dictionary<string,string> in ASP.NET?Why does Google prepend while(1); to their JSON responses?Parse JSON in JavaScript?