In fact I just want to change the web directory to another folder in Ubuntu, but  403 forbidden error give a mass to me.  I have tried a lot of ways on google to solve this problem, but those solutions can not solve my problem, such as change the permission of the folder,  This is /etc/apache2/sites-enabled/000-default.conf file (see comments on lines with ##############):  &lt;VirtualHost *:80&gt;  # The ServerName directive sets the request scheme, hostname and port that # the server uses to identify itself. This is used when creating # redirection URLs. In the context of virtual hosts, the ServerName # specifies what hostname must appear in the request's Host: header to # match this virtual host. For the default virtual host (this file) this # value is not decisive as it is used as a last resort host regardless. # However, you must set it for any further virtual host explicitly. #ServerName www.example.com  ServerAdmin webmaster@localhost DocumentRoot /usr/www  ############## (if I change to /var/www no forbidden)  # Available loglevels: trace8, ..., trace1, debug, info, notice, warn, # error, crit, alert, emerg. # It is also possible to configure the loglevel for particular # modules, e.g. #LogLevel info ssl:warn  ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined  # For most configuration files from conf-available/, which are # enabled or disabled at a global level, it is possible to # include a line for only one particular virtual host. For example the # following line enables the CGI configuration for this host only # after it has been globally disabled with "a2disconf". #Include conf-available/serve-cgi-bin.conf &lt;/VirtualHost&gt;  # vim: syntax=apache ts=4 sw=4 sts=4 sr noet   and this is /etc/apache2/apache2.conf file  &lt;Directory /usr/www/&gt; ############## (if I change this to /var/www/ no problem.) Options Indexes FollowSymLinks AllowOverride None Require all granted &lt;/Directory&gt;   who can help me?
I have installed Apache(LAMP) web server on my ubuntu machine and I want to do the above mentioned thing.I have tried creating symbolic links in the /var/www directory but it only shows files but not directories inside the directory linked.I want to redirect /var/www to my home folder so that I can access all the files and directories contained therein.Please help me.
I have basic programming skills (I program simple vba python and lisp scripts and had gone through a java course a long time ago), but it seems to me (judging by ESRI publications) that there is no escaping the need to learn .NET for future relevance in the GIS job market (even as an analyst). I've gone through a basic c# course and can program (regrettably) quite poor programs, but I have no idea how to link the c# knowledge to actually programming for ArcGIS in order to progress.  I know the differences aren't big, but does ArcGIS use .NET or C#?  I know the best way to further my experience in .NET is to program more and more but are there any good .NET programming books or courses I can learn techniques from?  In your opinion, what is the best way to learn to program in .NET for ArcGIS? Are there any useful books or websites?   I seek your comments regarding ArcGIS 10 (and will be saving them for later) but also for ArcGIS 9.3.1. Trace of a commutator is zero - but what about the commutator of $x$ and $p$? Operators can be cyclically interchanged inside a trace: $${\rm Tr} (AB)~=~{\rm Tr} (BA).$$ This means the trace of a commutator of any two operators is zero: $${\rm Tr} ([A,B])~=~0.$$ But what about the commutator of the position and momentum operators for a quantum particle? On the one hand: $${\rm Tr}([x,p])~=~0,$$ while on the other hand: $$[x,p]~=~i\hbar.$$ How does this work out? I was just wondering how can you use "there is" followed by a word that is in plural, e.g  "There's cupcakes in the fridge"  and  "There is a couple of things we can do --"   Is it just slang? If H is a subgroup of G ( | G:H |=n, n > 1), then how can you show that G has a factor group G/N which is isomorphic to a subgroup D of the symmetric group Sn with |D| > 1.  I've been looking at Cayley's Theorem but it's not specific to the factor groups. Caps-lock remapping stops working What's the difference between using a 50mm f/1.8G and a 50mm f/1.8D with a Nikon D80? Recently, Nikon announced their , as revamp of the old 50mm f/1.8D. :     The main difference between this new   "nifty fifty" and the almost   decade-old ƒ1.8D is that it has an   autofocus motor inside. This means you   can use it with any current or recent   Nikon SLR. The older lens lacks this   motor and is instead driven by one in   the camera, which cheaper bodies don't   have.   I currently use a Nikon D80 (and I don't plan on changing that any time soon), and I've been considering getting such a lens. Is there any difference between the D and the G lenses when used on a D80? I believe that the D one works just as well, since D80's have internal autofocus motors - is that right?  Besides the autofocus motor aspect, is there any other big difference between them? Since the D is priced at around $120 and the G at $220, should I just get the D? Visualforce Date formatting Integral involving Cosine function What will be the formula for the following:  $$\int_0^\infty \cos(x)dx.$$ Is "has or will read" grammatical? I just wrote  in an ELL chat room. But looking at it (or more accurately, listening to my "inner voice" trying to "read it aloud"), I find it bothers me a lot.  A quick check on Google Books finds a claimed 432 written instances of , and 910 instances of , which suggests a significant minority of writers don't have a problem with the fact that the two different read's don't sound the same.  When I check the same construction with other verbs that don't have the same written form for past participle and present tense, it seems people nearly always include both (e.g. :1230, :8; :357, :7).  I'm not usually a big fan of "grammatical rules", but it seems to me there "ought" to be a rule that you shouldn't delete one instance of the verb unless it's "the same" as the one you're keeping. And it also seems to me that since language is primarily spoken, "the same" ought to mean "sounds the same when spoken", not "looks the same when written".  Can anyone who knows more than me about formal rules of grammar settle this one?    As an aside, offhand I can't think of any verb where the past participle and present tense sound the same but are written differently (maybe there aren't any), but would deletion be okay in that case? Android and getting a view with id cast as a string How Do I Allow A Standard User to Install Programs? How can I merge a guest post with a new account? I asked a question over at AskUbuntu(as a guest), and I'd like to be able to edit and comment on this new account. Is this possible? Is there an easy way to limit user bandwidth usage? I already have an Apple ID, made at Apple.com. Now, when I want to access the App Store from my iPad, I am told that I have to review my information. On the credit card page, I am not presented with a "None" option, even though I am in the United States.   What can I do to proceed without entering this information? Prove that $\frac d {dx} x^n=nx^{n-1}$ for all $n \in \mathbb R$.   I saw some proof of $\frac d {dx} x^n=nx^{n-1}$ using binomial theorem, which is only available for $n \in\mathbb N$. Do anyone have the proof of $\frac d {dx} x^n=nx^{n-1}$ for all real $n$? Thank you. OpenGL GLX context is not using direct rendering, which may cause performance problems. (steam) AMD DRIVER When I start steam in a terminal, I get the following error messages   charlie@SteamMPL:~$ steam rm: no se puede borrar «/home/charlie/.steam/steam»: Es un directorio rm: no se puede borrar «/home/charlie/.steam/bin»: Es un directorio Running Steam on ubuntu 14.04 64-bit STEAM_RUNTIME is enabled automatically [2014-08-03 11:50:13] Startup - updater built Jul 15 2014 18:14:26 Installing breakpad exception handler for appid(steam)/version(1405474565_client) libGL error: failed to load driver: swrast Looks like steam didn't shutdown cleanly, scheduling immediate update check Installing breakpad exception handler for appid(steam)/version(1405474565_client) [2014-08-03 11:50:14] Checking for update on startup [2014-08-03 11:50:14] Buscando actualizaciones disponibles... Installing breakpad exception handler for appid(steam)/version(1405474565_client) [2014-08-03 11:50:14] Download skipped: /client/steam_client_ubuntu12 version 1405474565, installed version 1405474565 [2014-08-03 11:50:14] Nothing to do [2014-08-03 11:50:14] Verificando instalación... [2014-08-03 11:50:14] Performing checksum verification of executable files [2014-08-03 11:50:15] Verification complete Gtk-Message: Failed to load module "overlay-scrollbar" Gtk-Message: Failed to load module "unity-gtk-module" Installing breakpad exception handler for appid(steam)/version(1405474565_client) Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number [0803/115015:WARNING:proxy_service.cc(958)] PAC support disabled because there is no system implementation libGL error: failed to load driver: swrast Error: OpenGL GLX context is not using direct rendering, which may cause performance problems.   Hardware information:   CPU: AMD Athlon x4 760k  GPU: AMD Radeon R7 250 1 GB GDDR5 (Driver: Catalyst 14.4) RAM: 8 GB DDR3 1600   What can I do to circumvent this issue? A required field that isn't really required? ...the email field in my clients data entry system is required but users of the system are allowed to enter na@na.com if the customer refuses or doesn't have an email address. Is this best practice? Have any suggestions or workarounds for their solution? How to deal with bibliography items containing long URLs? Uniform convergence on two separate intervals Test the sequence of functions for uniform convergence       $$f_n(x)=\frac{nx}{1+n^2x^2}$$      $a) \text{on} \ [0,1]$      $b) \text{on} \ [1,{\infty})$   a)  If we differentiate this with respect to x we get the following :  $$(\frac{nx}{1+n^2x^2})'=\frac{n(1-n^2x^2)}{(1+n^2x^2)^2}$$  This is equal to $0$ for $x=^{+}_{-}\frac{1}{n}$  From here we can either check these two values in the original function and take the larger one as the supremum or we can find the second derivative and check whether it's negative. In either case we find that for $x=\frac{1}{n}$ we get the value $f_n(x)=\frac{1}{2}$ and for $x=-\frac{1}{n}$ we get $f_n(x)=-\frac{1}{2}$. Note that $x=-\frac{1}{n}$ doesn't even belong in our interval. Now we can finish the problem.  $$\lim_{n\to \infty}{\frac{nx}{1+n^2x^2}}=0$$  So it is piecewise converging to $f(x)=0$  $$\lim_{n\to \infty}\sup{\left \lvert{f_n(x)-f(x)}\right \rvert}=\lim_{n\to \infty}{\frac{n\frac{1}{n}}{1+n^2 \frac{1}{n^2}}}=\frac{1}{2}$$  So $f_n(x)$ does not convergence uniformly on $[0,1]$ to $f(x)=0$  b)  Now we need to test the on the interval $[1,\infty)$.From the first derivative we notice that if $x\in [1,\infty)$ then the numerator seems to be negative for all $x&gt;1$. So $f_n(x)$ is monotonically decreasing. That means that the supremum will be at the first point of the interval or $x=1$. Taking the limit :  $$\lim_{n\to \infty}{\frac{n}{1+n^2}}=0$$  We can see that the function convergences uniformly on this interval.  Is there something wrong with either of these solutions?  I'm having doubts mostly about the second interval since $x=\frac{1}{n}$ is a supremum but only for $n=1$. However I believe that we need to have the supremum that's satisfied for all $n \in N$. Pointing even the tiniest mistake in my solutions would be very helpful. Thank you. I want to achieve the exact same title page layout as the paper shown . For those that do not want to download the paper, the image of the title page is shown below:    The super-scripts indicating the authors doesn't have to be as shown in the example title page (e.g, a, b and c), other symbols are fine.  I am using the authblk package and know the general syntax such as:  \title{title of paper} \author[1]{author 1\thanks{details that goes into the footnote}} \author[1]{author 2\thanks{details that goes into the footnote}} \author[2]{author 3\thanks{details that goes into the footnote}} \affil[1]{university 1} \affil[2]{university 2} \renewcommand\Authands{ and } \maketitle  \begin{abstract} abstract goes here \end{abstract}   But I am not sure how to achieve the example title page shown. Any help would be appreciated!