apache does not see my folder

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I'm trying to configure a wordpress website on a CentOS 7 + CWP Virtual Machine. I copied my site files to home/ieorgbr/public_html/site, and configure Apache with the following, in httpd.conf:



<VirtualHost *:80>
DocumentRoot /home/ieorgbr/public_html
<Directory "/home/ieorgbr/public_html">
Require all granted
</Directory>
</VirtualHost>


When I try to access the site from the browser, it lists nothing, but if i create a new folder, it lists the folder on the browser.



The folder that is not showing was copied from another folder (outside the virtual Machine). I tried to change permissions and ownership of dirs, but it didn't work. Why isn't apache recognizing this folder?



drwxr-xr-x 2 root root 6 Oct 22 16:09 new_site
drwxr-xr-x 8 root root 4096 Oct 22 14:17 site


enter image description here



Edit:
I tried to change the main DocumentRoot of the config file, instead of creating a VirtualHost section, and had the same problem.










share|improve this question









New contributor




Marlon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • Notice they are called "directory" but you are calling it "folder". Do not use Windows-isms that aren't the same thing.
    – Rob
    5 mins ago















up vote
0
down vote

favorite












I'm trying to configure a wordpress website on a CentOS 7 + CWP Virtual Machine. I copied my site files to home/ieorgbr/public_html/site, and configure Apache with the following, in httpd.conf:



<VirtualHost *:80>
DocumentRoot /home/ieorgbr/public_html
<Directory "/home/ieorgbr/public_html">
Require all granted
</Directory>
</VirtualHost>


When I try to access the site from the browser, it lists nothing, but if i create a new folder, it lists the folder on the browser.



The folder that is not showing was copied from another folder (outside the virtual Machine). I tried to change permissions and ownership of dirs, but it didn't work. Why isn't apache recognizing this folder?



drwxr-xr-x 2 root root 6 Oct 22 16:09 new_site
drwxr-xr-x 8 root root 4096 Oct 22 14:17 site


enter image description here



Edit:
I tried to change the main DocumentRoot of the config file, instead of creating a VirtualHost section, and had the same problem.










share|improve this question









New contributor




Marlon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • Notice they are called "directory" but you are calling it "folder". Do not use Windows-isms that aren't the same thing.
    – Rob
    5 mins ago













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I'm trying to configure a wordpress website on a CentOS 7 + CWP Virtual Machine. I copied my site files to home/ieorgbr/public_html/site, and configure Apache with the following, in httpd.conf:



<VirtualHost *:80>
DocumentRoot /home/ieorgbr/public_html
<Directory "/home/ieorgbr/public_html">
Require all granted
</Directory>
</VirtualHost>


When I try to access the site from the browser, it lists nothing, but if i create a new folder, it lists the folder on the browser.



The folder that is not showing was copied from another folder (outside the virtual Machine). I tried to change permissions and ownership of dirs, but it didn't work. Why isn't apache recognizing this folder?



drwxr-xr-x 2 root root 6 Oct 22 16:09 new_site
drwxr-xr-x 8 root root 4096 Oct 22 14:17 site


enter image description here



Edit:
I tried to change the main DocumentRoot of the config file, instead of creating a VirtualHost section, and had the same problem.










share|improve this question









New contributor




Marlon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I'm trying to configure a wordpress website on a CentOS 7 + CWP Virtual Machine. I copied my site files to home/ieorgbr/public_html/site, and configure Apache with the following, in httpd.conf:



<VirtualHost *:80>
DocumentRoot /home/ieorgbr/public_html
<Directory "/home/ieorgbr/public_html">
Require all granted
</Directory>
</VirtualHost>


When I try to access the site from the browser, it lists nothing, but if i create a new folder, it lists the folder on the browser.



The folder that is not showing was copied from another folder (outside the virtual Machine). I tried to change permissions and ownership of dirs, but it didn't work. Why isn't apache recognizing this folder?



drwxr-xr-x 2 root root 6 Oct 22 16:09 new_site
drwxr-xr-x 8 root root 4096 Oct 22 14:17 site


enter image description here



Edit:
I tried to change the main DocumentRoot of the config file, instead of creating a VirtualHost section, and had the same problem.







apache-httpd apache-virtualhost






share|improve this question









New contributor




Marlon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Marlon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 8 mins ago





















New contributor




Marlon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 18 mins ago









Marlon

1011




1011




New contributor




Marlon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Marlon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Marlon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











  • Notice they are called "directory" but you are calling it "folder". Do not use Windows-isms that aren't the same thing.
    – Rob
    5 mins ago

















  • Notice they are called "directory" but you are calling it "folder". Do not use Windows-isms that aren't the same thing.
    – Rob
    5 mins ago
















Notice they are called "directory" but you are calling it "folder". Do not use Windows-isms that aren't the same thing.
– Rob
5 mins ago





Notice they are called "directory" but you are calling it "folder". Do not use Windows-isms that aren't the same thing.
– Rob
5 mins ago
















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
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',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);






Marlon is a new contributor. Be nice, and check out our Code of Conduct.









 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f477111%2fapache-does-not-see-my-folder%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes








Marlon is a new contributor. Be nice, and check out our Code of Conduct.









 

draft saved


draft discarded


















Marlon is a new contributor. Be nice, and check out our Code of Conduct.












Marlon is a new contributor. Be nice, and check out our Code of Conduct.











Marlon is a new contributor. Be nice, and check out our Code of Conduct.













 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f477111%2fapache-does-not-see-my-folder%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

Peggy Mitchell

Palaiologos

The Forum (Inglewood, California)