403 Forbidden after changing DocumentRoot directory Apache 2.4.6
403 error after upgrading to apache2.4
I'd like to split strings like these  'foofo21' 'bar432' 'foobar12345'   into  ['foofo', '21'] ['bar', '432'] ['foobar', '12345']   Does somebody know an easy and simple way to do this in python? home socket with DC voltage I'm wondering why, in a standard house, instead of using many low power AC-DC rectifier, there isn't a big (like 12V 20~50A) AC-DC rectifier which supplies some wall socket with a DC voltage? In the long run this should be less expensive, given the fact that AC to DC in one big apparatus is done better than in many low-quality transformers, right?  Also, modern chip DC voltage regulators have efficiency of >90%, so smaller (or even larger) voltages are still efficient and possible.  So we could use a 12V socket to charge a phone, desktop computer, laptop, radio etc... and still have an AC socket to move washing machine engine and other things that work better with an AC supply.  Why isn't this done?  edit: real question is: is it convenient, given a standard family (2 laptop, 1 desktop, 4 smarthpone, 1 big tv and some minor electonic) to do so? A movie about artificial intelligence gone rogue I have a laptop with win7 installed. I have now made a 60gb partition which I want to install ubuntu into. The question I have, before I do the installation, is how large each of the root, swap, and home partition should be? I have read some place that root could be as small as 8GB, but isn't that too small? Since I guess beside ubuntu all the softwares installed will reside there as well? And I think I'm going to set my swap to be 2GB large.  My main concern is how large should the root partition should be. I'm mainly going to use ubuntu for programming and browse the web. How do I change the email address associated with my Stack Exchange OpenID? I registered my Stack Overflow account using the Stack Exchange OpenID provider. I later changed my e-mail, but I cannot change the e-mail address associated with my OpenID for some reason. Why is that, and how do I change it? I logged in to Stack Exchange and it lets me change my password, but never my e-mail. Best way to select a subset of items in a long list I've working LDAP authentication with the following setup   AuthName            "whatever"  AuthType            Basic  AuthBasicProvider   ldap  AuthLDAPUrl         "ldap://server/OU=SBSUsers,OU=Users,OU=MyBusiness,DC=company,DC=local?sAMAccountName?sub?(objectClass=*)"  Require ldap-group  CN=MySpecificGroup,OU=Security Groups,OU=MyBusiness,DC=company,DC=local   This works, however I've to put all users I want to authenticate into MySpecificGroup. But on LDAP server I've configured that MySpecificGroup also contains the group MyOtherGroup with another list of users.  But those users in MyOtherGroup are not authenticated, I've to manually add them all to MySpecificGroup and basically can't use the nested grouping. I'm using Windows SBS 2003.  Is there a way to configure Apache LDAP to do this? Or is there a problem with possible infinite recursion and thus not allowed? Meaning of telegraph code in the song "Planetes" The song Planetes in Guilty Crown begins with some telegraph encoding, which I think is . Here is the . My transcription is: -•-• -••-- •-- --•-- •- --•-• •-•-- -•--•  which decodes to this:  ni-yu-ya a-i-shi-te-ru  Niyuya didn't make sense. Did I get something wrong? Why doesn't "cd" work in a shell script? I just want to write a script which changes my directory.  I put the below commands in the file /home/alex/pathABC  #!/bin/sh cd /home/alex/Documents/A/B/C echo HelloWorld   I did   chmod +x pathABC   In the Terminal, while in /home/alex, I ran ./pathABC, but the output is just HelloWorld and the current directory is not changed.  So what is wrong? In my question  I asked about the definition and usage of the word "model", for which I was told the following definition:     A formula of propositional logic is true under an interpretation iff   the interpretation assigns the truth value T to that formula. If a   formula is true under an interpretation, then that interpretation is   called a model of that formula.   An interpetation satisfies a formula φ iff it is a model of the formula. Same for a set $\Gamma$ of formulas, if an interpretation satisfies all the formulas in $\Gamma$ then it is a model of $\Gamma$. Then if we say $\Gamma \vDash \varphi$ then $\varphi$ is a semantic consequence of $\Gamma$ / is satisfied in all "models" of $\Gamma$ (true whenever everything in $\Gamma$ is true).  This also matches the definitions for model as seen on the Wiki for  and .  All good so far. But when I get really confused when I see posts like  where they use "models" as a word meaning "satisfies all the axioms in a theory."  From Asaf's answer:     Models are structures, and structures are models. But when we say   "model" we mean that there is a particular theory which holds in the   structure, and when we say "structure" we are mainly interested in an   arbitrary interpretation of the language.   From Metin's answer:     A structure is a set with some interpretable symbols(constants,   relations and functions) within a fixed language. You do not ask for   more from a structure.      However...      A model (of a theory) is a structure which satisfies the axioms of the   theory. It makes more "structural sense"...   And then from one of Asaf's comments:     When I say "a model of 𝖹𝖥𝖢" they also know, immediately, that I am   talking about a model which satisfies all the axioms of 𝖹𝖥𝖢.   So I am unclear on which definition is correct or if this is the same word being used in two different ways or if this is "logical model" versus "semantic model" or something else entirely.  On the one hand we seem to have "model" meaning "any interpretation that satisfies a formula or set of formulas." On the other hand we have "model" meaning "Interpretation that satisfies all the axioms of a theory".  From the Wiki article on  we see also:     For a given theory in model theory, a structure is called a model, if   it satisfies the defining axioms of that theory.   So which is it exactly? Does "model" have a different meaning in propositional logic compared to model theory or first-order logic or set theory etc? Getting hybrid graphics to work nvidia-prime GT650M How do I mount a partition with UFS filesystem (FreeNAS) in Ubuntu 11.10?  I'm a total Ubuntu newbie and just switched from FreeNAS.  There should be ll the info I need I guess, but if anyone would help me get going i'll by glad =) Is it possible that galaxies' redshift is caused by something else than the expansion of space? I was thinking that maybe photons loss energy naturally when they travel great distances.  Or maybe the mass of all matter is increasing over time and therefore photons emitted in the past are necessarily less energetic.  Or is the expansion of space backed up by so much other evidences that trying to find another explanation is completely foolish? How does Loki survive his fall at the end of Thor? In one of the concluding scenes of the movie Thor, it's shown that Loki deliberately let go of the Scepter, and falls deep into the vast intergalactic sea sort of thing. How does he survive and return in The Avengers? I realize this isn't possible, but I can't see why not, especially if you change the model a little bit so that the balls simply travel through a tube of water on the way up, rather than exactly this model.  Please be clear and detailed.  I've heard explanations like "the balls wouldn't move" but that doesn't do it for me - I really do not see why the balls on the right would not be pulled/pushed up, and the rest of the chain wouldn't continue on. What is likely to happen when you plug two ends of a network cable to a single switch/router? Will this create problems on the network, or just be ignored? Dependency is not satisfiable: libtiff4 when trying to install Lightworks on Ubuntu 14.04 I was trying to install Lightworks 11.5.1 (amd64) on Ubuntu 14.04(amd64) but there's a notice: Dependency is not satisfiable: libtiff4. Is there anyway to solve this dependency issue?  Thanks in advance. Intuition behind logarithm change of base I try to understand the actual intuition behind the logarithm properties and came across  that explains the multiplication and thereby also the division properties very nicely:     Suppose you have a table of powers of 2, which looks like this: (after revision)      $$\begin{array}{rrrrrrrrrr} 0&amp;1&amp;2&amp;3&amp;4&amp;5&amp;6&amp;7&amp;8&amp;9&amp;10\\ 1&amp;2&amp;4&amp;8&amp;16&amp;32&amp;64&amp;128&amp;256&amp;512&amp;1024 \end{array}$$      Each column says how many twos you have to multiply to get the number in that column.  For example, if you multiply 5 twos, you get $2\cdot2\cdot2\cdot2\cdot2=32$, which is the number in column 5.      Now suppose you want to multiply two numbers from the bottom row, say $16\cdot 64$.  Well, the $16$ is the product of 4 twos, and the $64$ is the product of 6 twos, so when you multiply them together you get a product of 10 twos, which is $1024$.   I found that very helpful to understand the actual proofs for this property.  I still struggle to get the idea behind the change of base rule. I'm familiar with the proof that goes like:  $$\log_a x = y \implies a^y = x$$ $$\log_b a^y = \log_b x$$ $$y \cdot \log_b a = \log_b x$$ $$y = \frac{\log_b x}{\log_b a}$$  But can somehow provide a explanation in the style of the quoted answer why this actually works? I have a Samsung Galaxy S2, running the latest CM10.1.  I lost the app drawer icon on my Dock; I must have deleted it. The app drawer icon lets you go to the app list, and the widget list.  How do I get the app drawer icon back? The icon looks like a circle with 6 dots inside it. Riemann and Darboux Integral of a product of two functions