How to change my directory root in XAMPP
<p>I'm using XAMPP and my root is C:/xampp/htdocs. Firstly, I will list my files:</p>

<p>I have index.php file on htdocs/public
I have theme.css file on htdocs/public/css</p>

<p>I'm trying to link my css file to my html file like this:</p>

<pre><code>&lt;link rel="stylesheet" href="/css/theme.css" type="text/css"&gt;
</code></pre>

<p>But it doesn't work. When I right click to the browser and select "view source", and when I click to the href="/css/theme.css", it goes to this direction: 
<a href="http://localhost:8080/css/theme.css" rel="nofollow">http://localhost:8080/css/theme.css</a></p>

<p>But I want to make it go to this direction:
<a href="http://localhost:8080/public/css/theme.css" rel="nofollow">http://localhost:8080/public/css/theme.css</a></p>

<p>How can I make this happen?</p>