how to prevent the installation of wordpress or cause it to fail [closed]

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











up vote
0
down vote

favorite












My objective is to avoid installing WordPress sites on my server.



I think one way to achieve my objective is to configure apache.



Another option is to avoid creating one of the fundamental WP folders, example "wp-content", in this link there is information about it, but I did not understand anything.



Can I prevent a folder of a certain name being created?



I have added this code in apache configuration file (in my case apache2 / apache2.conf)



#Añadido para evitar la instalación de WP en el SV.
<Files wp-login.php>
deny from all
</Files>
<Directory wp-admin/>
deny from all
</Directory>


Then, when you try to access http://www.test.com/wp-login.php



The following message appears on the screen: "File not found."



I would like to add a personalized message on the screen, but I have tried and I could not.



#Añadido para evitar la instalación de WP en el SV.
<Files wp-login.php>
deny from all
ErrorDocument 500 "Sorry, our script crashed. Oh dear"
</Files>
<Directory wp-admin/>
deny from all
ErrorDocument 500 "Sorry, our script crashed. Oh dear"
</Directory>


How to create personalized messages?










share|improve this question















closed as unclear what you're asking by G-Man, Ipor Sircer, Thomas, Archemar, RalfFriedl Nov 29 at 17:51


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.










  • 1




    Possible duplicate of Can I prevent a folder of a certain name being created?
    – Ipor Sircer
    Nov 29 at 9:07










  • Did not you see that I put the link myself?
    – Carlos
    Nov 29 at 9:22










  • The guy who created this post does not want to create a folder in the root directory. I do not want a folder created anywhere on my server.
    – Carlos
    Nov 29 at 9:23










  • Are you saying you're using Apache virtual hosting and you don't want to allow others to use said virtual hosting for Wordpress sites?
    – Emmanuel Rosa
    Nov 29 at 9:28










  • It would be much easier to block subdirectories access in apache config, than prevent creating directories.
    – Ipor Sircer
    Nov 29 at 9:28















up vote
0
down vote

favorite












My objective is to avoid installing WordPress sites on my server.



I think one way to achieve my objective is to configure apache.



Another option is to avoid creating one of the fundamental WP folders, example "wp-content", in this link there is information about it, but I did not understand anything.



Can I prevent a folder of a certain name being created?



I have added this code in apache configuration file (in my case apache2 / apache2.conf)



#Añadido para evitar la instalación de WP en el SV.
<Files wp-login.php>
deny from all
</Files>
<Directory wp-admin/>
deny from all
</Directory>


Then, when you try to access http://www.test.com/wp-login.php



The following message appears on the screen: "File not found."



I would like to add a personalized message on the screen, but I have tried and I could not.



#Añadido para evitar la instalación de WP en el SV.
<Files wp-login.php>
deny from all
ErrorDocument 500 "Sorry, our script crashed. Oh dear"
</Files>
<Directory wp-admin/>
deny from all
ErrorDocument 500 "Sorry, our script crashed. Oh dear"
</Directory>


How to create personalized messages?










share|improve this question















closed as unclear what you're asking by G-Man, Ipor Sircer, Thomas, Archemar, RalfFriedl Nov 29 at 17:51


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.










  • 1




    Possible duplicate of Can I prevent a folder of a certain name being created?
    – Ipor Sircer
    Nov 29 at 9:07










  • Did not you see that I put the link myself?
    – Carlos
    Nov 29 at 9:22










  • The guy who created this post does not want to create a folder in the root directory. I do not want a folder created anywhere on my server.
    – Carlos
    Nov 29 at 9:23










  • Are you saying you're using Apache virtual hosting and you don't want to allow others to use said virtual hosting for Wordpress sites?
    – Emmanuel Rosa
    Nov 29 at 9:28










  • It would be much easier to block subdirectories access in apache config, than prevent creating directories.
    – Ipor Sircer
    Nov 29 at 9:28













up vote
0
down vote

favorite









up vote
0
down vote

favorite











My objective is to avoid installing WordPress sites on my server.



I think one way to achieve my objective is to configure apache.



Another option is to avoid creating one of the fundamental WP folders, example "wp-content", in this link there is information about it, but I did not understand anything.



Can I prevent a folder of a certain name being created?



I have added this code in apache configuration file (in my case apache2 / apache2.conf)



#Añadido para evitar la instalación de WP en el SV.
<Files wp-login.php>
deny from all
</Files>
<Directory wp-admin/>
deny from all
</Directory>


Then, when you try to access http://www.test.com/wp-login.php



The following message appears on the screen: "File not found."



I would like to add a personalized message on the screen, but I have tried and I could not.



#Añadido para evitar la instalación de WP en el SV.
<Files wp-login.php>
deny from all
ErrorDocument 500 "Sorry, our script crashed. Oh dear"
</Files>
<Directory wp-admin/>
deny from all
ErrorDocument 500 "Sorry, our script crashed. Oh dear"
</Directory>


How to create personalized messages?










share|improve this question















My objective is to avoid installing WordPress sites on my server.



I think one way to achieve my objective is to configure apache.



Another option is to avoid creating one of the fundamental WP folders, example "wp-content", in this link there is information about it, but I did not understand anything.



Can I prevent a folder of a certain name being created?



I have added this code in apache configuration file (in my case apache2 / apache2.conf)



#Añadido para evitar la instalación de WP en el SV.
<Files wp-login.php>
deny from all
</Files>
<Directory wp-admin/>
deny from all
</Directory>


Then, when you try to access http://www.test.com/wp-login.php



The following message appears on the screen: "File not found."



I would like to add a personalized message on the screen, but I have tried and I could not.



#Añadido para evitar la instalación de WP en el SV.
<Files wp-login.php>
deny from all
ErrorDocument 500 "Sorry, our script crashed. Oh dear"
</Files>
<Directory wp-admin/>
deny from all
ErrorDocument 500 "Sorry, our script crashed. Oh dear"
</Directory>


How to create personalized messages?







linux ubuntu apache-httpd apache-virtualhost






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 29 at 14:40









Rui F Ribeiro

38.4k1479128




38.4k1479128










asked Nov 29 at 9:03









Carlos

61




61




closed as unclear what you're asking by G-Man, Ipor Sircer, Thomas, Archemar, RalfFriedl Nov 29 at 17:51


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.






closed as unclear what you're asking by G-Man, Ipor Sircer, Thomas, Archemar, RalfFriedl Nov 29 at 17:51


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.









  • 1




    Possible duplicate of Can I prevent a folder of a certain name being created?
    – Ipor Sircer
    Nov 29 at 9:07










  • Did not you see that I put the link myself?
    – Carlos
    Nov 29 at 9:22










  • The guy who created this post does not want to create a folder in the root directory. I do not want a folder created anywhere on my server.
    – Carlos
    Nov 29 at 9:23










  • Are you saying you're using Apache virtual hosting and you don't want to allow others to use said virtual hosting for Wordpress sites?
    – Emmanuel Rosa
    Nov 29 at 9:28










  • It would be much easier to block subdirectories access in apache config, than prevent creating directories.
    – Ipor Sircer
    Nov 29 at 9:28













  • 1




    Possible duplicate of Can I prevent a folder of a certain name being created?
    – Ipor Sircer
    Nov 29 at 9:07










  • Did not you see that I put the link myself?
    – Carlos
    Nov 29 at 9:22










  • The guy who created this post does not want to create a folder in the root directory. I do not want a folder created anywhere on my server.
    – Carlos
    Nov 29 at 9:23










  • Are you saying you're using Apache virtual hosting and you don't want to allow others to use said virtual hosting for Wordpress sites?
    – Emmanuel Rosa
    Nov 29 at 9:28










  • It would be much easier to block subdirectories access in apache config, than prevent creating directories.
    – Ipor Sircer
    Nov 29 at 9:28








1




1




Possible duplicate of Can I prevent a folder of a certain name being created?
– Ipor Sircer
Nov 29 at 9:07




Possible duplicate of Can I prevent a folder of a certain name being created?
– Ipor Sircer
Nov 29 at 9:07












Did not you see that I put the link myself?
– Carlos
Nov 29 at 9:22




Did not you see that I put the link myself?
– Carlos
Nov 29 at 9:22












The guy who created this post does not want to create a folder in the root directory. I do not want a folder created anywhere on my server.
– Carlos
Nov 29 at 9:23




The guy who created this post does not want to create a folder in the root directory. I do not want a folder created anywhere on my server.
– Carlos
Nov 29 at 9:23












Are you saying you're using Apache virtual hosting and you don't want to allow others to use said virtual hosting for Wordpress sites?
– Emmanuel Rosa
Nov 29 at 9:28




Are you saying you're using Apache virtual hosting and you don't want to allow others to use said virtual hosting for Wordpress sites?
– Emmanuel Rosa
Nov 29 at 9:28












It would be much easier to block subdirectories access in apache config, than prevent creating directories.
– Ipor Sircer
Nov 29 at 9:28





It would be much easier to block subdirectories access in apache config, than prevent creating directories.
– Ipor Sircer
Nov 29 at 9:28
















active

oldest

votes






















active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?