Search results “Directory options indexes multiviews”
Change Apache's DocumentRoot Location - Ubuntu 10.04
Quickly change apache's default DocumentRoot directory in Ubuntu 10.04. By default, apache will point to /var/www. See how easy it is to change that!
Views: 15847 webninja311
Changing the Apache Root WWW Directory in WAMP Server
Changing the Apache Root WWW Directory in WAMP Server. In this tutorial I will cover how to change the default www directory that Apache looks for, to some other folder on your harddrive. WAMP homepage: http://www.wampserver.com/en/ Apache homepage: http://httpd.apache.org/ MySQL homepage: http://www.mysql.com/ PHP homepage: http://www.php.net/ Lucid Nerd Social: Twitter: http://twitter.com/#!/thelucidnerd Facebook: http://www.facebook.com/pages/The-Lucid-Nerd/231999260192935 Blog: http://www.lucidnerd.wordpress.com Google+: https://plus.google.com/u/0/102109513207945593939/ SEO tags repeated: Apache WAMP "WAMP Server" "WWW Directory" Root "Windows 7" "Lucid Nerd" "Beginners Guide" Tutorial How-to "Apache HTTP Server" "Software Tutorial"
Views: 43822 lucidnerd.com
Change the Document root and Directory Location on xampp
Change localhost Directory or Change the Document root of xampp directory Click on Xampp Control Panel click on Config Tab then select Httpdconfig Search Documentroot in httpdconfig file when we search documentroot there are two search found like DocumentRoot "C:/xampp/htdocs/" Directory "C:/xampp/htdocs/" this is path of htdocs directory change it with your desired destination DocumentRoot "D:/ithelpsonly/htdocs/" Directory "D:/ithelpsonly/htdocs/" then restart the apache server open exporer and run with new location localhost/test/index.php The localhost path is D:/ithelpsonly/htdocs/test/index.php This is the process of changing document root of xampp directory. Thank you for watching
Views: 4288 ithelpsonly
Set Up Your First Website with Apache VirtualHosts
A quick guide on setting up your first websites with Linux + Apache. I'll walk you through two methods: 1. Ultra Simple # Simple website in the existing /var/www/html directory Just add files to /var/www/html 2. Apache virtualhosts (more professional, easier to manage, allows for multitenancy) # Comment out everything in the 'welcome' config file vim /etc/httpd/conf.d/welcome.conf # Create directories mkdir -p /var/www/test.tutorialinux.com/public_html # Copy website files to the newly created directory above # Put your virtualhost definition in the main apache config file (fine for a few sites, painful for true multitenancy) vim /etc/httpd/conf/httpd.conf # If you don't have DNS pointing to the domain listed in your ServerName, edit /etc/hosts on the machine you want to VISIT the site from: vim /etc/hosts # The site won't be live for other people on the web, but you'll be able to see it. In this video, I'm using Centos 7 (RedHat), although you can use whichever Linux distribution you like. Full Linux Sysadmin Course: https://www.youtube.com/playlist?list=PLtK75qxsQaMLZSo7KL-PmiRarU7hrpnwK Check out my project-based Linux System Administration course (free sample videos): https://www.udemy.com/hands-on-linux-self-hosted-wordpress-for-linux-beginners/?couponCode=tl35 Official Site & e-mail list: https://tutorialinux.com/ Twitter: https://twitter.com/tutorialinux Facebook: https://www.facebook.com/tutorialinux Patreon: https://www.patreon.com/tutorialinux
Views: 18984 tutoriaLinux
Configuring Apache for User Directories
Show how to configure Apache for user directories. These directories allow users to make and present their own web pages using the public_html directory.
Views: 666 NetSecProf
apache directory browsing
Configuring directory browsing for apache on CentOS / RedHat linux
Views: 3613 Steven Marcus
Serve Webpages from User's Home Directory with Apache on CentOS 7 (SElinux Version))
This video demonstrates the configuration of Apache webserver on CentOS 7 for serving webpages from the users home directory. So that every users on your system can have his/her own website and it can be accessed from the browser as http://ip-addr/~username This video also demonstrates the configuration of SElinux for Apache. Tested on: CentOS 7 Apache Version: 2.4.6 (x86_64) Steps and Commands: 1. install apache sudo yum install httpd -y 2. enable userdir sudo vi /etc/httpd/conf.d/userdir.conf 3. restart apache sudo systemctl restart httpd 4. make $HOME executable sudo chmod a+x $HOME 5. create public_html under home mkdir $HOME/public_html 6. create a dummy html file vim index.html 7. selinux sudo chcon -Rt httpd_sys_content_t public_html 8. open port 80 on the firewall sudo firewall-cmd --add-port=80/tcp --permanent 9. restart firewalld sudo systemctl restart firewalld 10. find ip address of the server ip addr show | grep inet 11. test on the browser via http://ip_addr/~username/
Views: 2041 Brain I/O
Creating a Symbolic Link to the www Directory in Ubuntu
In this video I create a symbolic link from a directory I created called public_html in my home directory to the /var/www folder. I create this so that I do not need to change permissions or ownership to the www directory to write files to it. The command is sudo ln -s /home/USER/public_html /var/www. I then test a web page in the link folder using firefox. For more information visit http://lecturesnippets.com
Views: 12395 Lecture Snippets
Apache Directory Listing
How to prevent Apache from displaying directory contents (Index listing).
Views: 3466 Gabriel Ramirez
How to configuring a xampp web server for different root directory
windows: run your xampp control panel click the button saying config select apache( httpd.conf ) find document root replace DocumentRoot "C:/xampp/htdocs" Directory "C:/xampp/htdocs" Those 2 lines | C:/xampp/htdocs == current location for root | |change C:/xampp/htdocs with any location you want| save it linux: It can be done in two steps for Ubuntu 14.04 with Xampp 1.8.3-5 Step 1:- Change DocumentRoot and Directory path in /opt/lampp/etc/httpd.conf from DocumentRoot "/opt/lampp/htdocs" and Directory "/opt/lampp/htdocs" to DocumentRoot "/home/user/Desktop/js" and Directory "/home/user/Desktop/js" Step 2:- Change the rights of folder (in path and its parent folders to 777) eg via sudo chmod -R 777 /home/user/Desktop/js
Views: 228 Code Zone
How To Change Apache2 Document Root Apache Web Root On Ubuntu 18.04.1 LTS
In this Tutorial, we will learn how to change the Apache default web root folder to a new location. By default, the Apache web root or Document root folder location is at /var/www/html. Apache is the world's most popular HTTP web server and is commonly used in Linux and Unix environments.
Building website with C++
#Download links: 1. visual studio community 2017 Download link: https://www.visualstudio.com/downloads/ 2.Xampp. Download link: https://www.apachefriends.org/download.html #Configure the web environment first: 1. Download, Install and Open Xampp control panal 2. Configure Apache for CGI click on config then select Apache(httpd.conf) In httpd.conf search for: DocumentRoot "C:/xampp/htdocs" replace with DocumentRoot "C:/xampp/cgi-bin" add Options Indexes FollowSymLinks Includes ExecCGI 3. Now, Write C++ code for the website in Visual studio or any IDE you prefere. #Writing C++ code for the website in Visual studio 1. Select File/New/ Project or Cntl+Shift+N 2. Select Visual C++ / General / Empity Project 3. In Solution Explorer -Right click on Source File click Add/ New Item 4. Select C++ File (.cpp) 5. Write code in Source.cpp 6. Change the Project properties Output directory: C:/xampp/cgi-bin/helloweb Target name: helloweb Target extension: .cgi 7. Build the C++ project 8.Start Apache from Xampp control panel. In the next tutorial i will show you how to install and use GNU cgicc to build a website. Have fun exploring what else you can do with C++. Thank You.
Views: 310 Ishtiak Mokut
HTS Dev Diary: Installing Apache2 & Changing DocumentRoot
Kim continues prepping her development for web design and development by installing Ubuntu and changing its DocumentRoot directory. SUBSCRIBE to HighTechSister: https://goo.gl/ZuwjG7 HighTechSister's Youtube Channel: https://youtube.com/HighTechSisterHTS HighTechSister = K.L.W-Jackson CONNECT! HighTechSister http://hightechsister.com https://google.com/+HighTechSisterHTS https://www.facebook.com/HighTechSister https://twitter.com/HighTechSister K.L.W-Jackson https://twitter.com/KLWJ http://kim.winston-jackson.com https://plus.google.com/+KimberlyWinstonJackson My Other Channels KLWJtv - https://www.youtube.com/user/klwjTV A Thousand Little Worlds - https://www.youtube.com/user/ATLWorlds Areaway28 - https://www.youtube.com/user/Areaway28
Views: 785 HighTechSister
How to configuring a xampp web server for different root directory
how to configure a xampp web server for a different root directory Go to C:\xampp\apache\conf\httpd.conf Open httpd.conf Find tag DocumentRoot "Old DIR Location" Edit tag to DocumentRoot "New DIR Location" Now find tag Directory and change it to Directory "New DIR Location" Restart Your Apache
Installing and Configuring Web Server in Linux  -Step by Step Method
Apache is the Web Server most frequently used on the Internet today. This tutorial covers its installation and and configuration in Red Hat Linux 6.0 and 7.0. The CD-ROM distribution includes an Apache package, but you can also download Apache for free. • Installing Apache Mount the CD-ROM 1 and install the package for apache. The package will automatically create all the directories for you besides installing the software. The document root will be placed in /home/httpd in 6.0 and in /var/www in 7.0. The server root will be located in /etc/httpd. The path to the apache program will be /usr/sbin/httpd. • Configuring Apache in 6.0 Apache comes with the three configuration files mentioned above already with basic configuration information. Your job will be to tailor these configuration files to your needs. In this tutorial we will only deal with some basic features you need or may be interested in adding to your Web server. 1. httpd.conf: this is the configuration file related to the server in itself. Open the file httpd.conf in Kedit or any other text editor like Pico or Emacs. You are supposed to find the line ServerNameand enter the FQDN of your machine, and also find the line ServerAdmin and enter your e-mail address. The server comes configured to run in standalone mode, to listen in port 80, with user and group nobody privileges (low level of permissions for security reasons), and you don't need to change these options. 2. access.conf: this is the configuration file related to access to directories and services in the Web server. Again, open the file access.conf in a text editor. Look for the section that starts with and look for the Options line and change it to allow Server Side Includes, but disabling scripts to be run from a Web page, as follows: Options Indexes Includes FollowSymLinks IncludesNOEXEC. This will allow the dynamic dating of your changes, the dynamic display of time and date in your pages, but will prevent scripts to be run outside of your cgi-bin directory. For example, will be displayed as Saturday July 22, 2017 -- 01:59 PM As an additional security measure you may also change the section starting with so that the Options line be commented out as follows: # Options ExecCGI. This will not prevent you to run CGI programs in cgi-bin, but rather it will prevent the command exec to be used even in the cgi-bin directory. 3. srm.conf: this is the configuration file related to the location of the document root, directory infornation formatting, user directories, etc. Once more, open the file srm.conf in a text editor. If you want to change the location of the document root, look for the line DocumentRoot /home/httpd/html and change it to a new location, but do not forget to move its three sub-directories (html, cgi-bin and icons) to the new location, but there is no need for it. You may wish, however, to change the default user Web directory to www . Look for the line UserDir and change it to UserDir www . Files placed in the user accounts in this directory are displayed in the web when /~username is used after the server name (e.g. ubmail.ubalt.edu/~abento). You may also want to add index.htm to the list of files that may be index files to a Web directory. In order to do so, look for the line DirectoryIndex and change it to DirectoryIndex index.html index.shtml index.htm Check that your cgi-bin directory is properly identified as follows: ScriptAlias /cgi-bin/ /home/httpd/cgi-bin/ . If you moved your document root path change this line accordingly. If you want your CGI script files to be identified with .cgi be sure that the line AddHandler cgi-script .cgi is not commented out (market with in * in front). To complete the installation of server side includes be sure that the following two lines are present: AddType text/html .shtml AddHandler server-parsed .shtml Finally, to make your Web server support image maps be sure that the following line exists: AddHandler imap-file map • Configuring Apache in 7.0 Apache in 7.0 comes with the same three configuration files, but only httpd.conf needs to be configured, changed, by you. The other two are considered obsolete and should not be changed.
Views: 13443 Skill Institution
Setting Up Apache 2 Directory Browsing in Ubuntu - Part 1
Setting Up the Apache 2 Directory Browsing in Ubuntu 10.10 Maverick Meerkat, setting up Directory Browsing on a web server and configuring internet and local permissions and access control.
Views: 10073 Carly Salali
วิธีทำ Virtual Host บน Apache 2.4.10 บน Windows
วิธีทำ Virtual Host บน Apache 2.4.10 บน Windows How to Config Virtual Host for Apache 2.4.10 on Windows - เตรียมสร้ง Folder ให้พร้อมไว้ ผมสร้างที่ D:\_MySite_ ด้านในมี Folder ย่อยคือ localhost , website1, website2 - แก้ไขไฟล์ httpd.conf ให้เรียกใช้ vhost Include conf/extra/httpd-vhosts.conf - แก้ไขให้เรียกใช้ LoadModule vhost_alias_module modules/mod_vhost_alias.so - แก้ไขไฟล์ vhost.conf Directory "d:/_MySite_" Require all granted /Directory NameVirtualHost *:80 VirtualHost *:80 DocumentRoot d:/_Mysite_/localhost ServerName localhost ServerAlias localhost Directory "d:/_Mysite_/localhost" Options FollowSymlinks Indexes Includes ExecCGI Order allow,deny Allow from all DirectoryIndex index.htm index.html index.php /Directory /VirtualHost VirtualHost *:80 DocumentRoot d:/_Mysite_/website1 ServerName website1 ServerAlias website1 Directory "d:/_Mysite_/website1" Options FollowSymlinks Indexes Includes ExecCGI Order allow,deny Allow from all DirectoryIndex index.htm index.html index.php /Directory /VirtualHost VirtualHost *:80 DocumentRoot d:/_Mysite_/website2 ServerName website2 ServerAlias website2 Directory "d:/_Mysite_/website2" Options FollowSymlinks Indexes Includes ExecCGI Order allow,deny Allow from all #DirectoryIndex index.htm index.html index.php /Directory /VirtualHost By Taonoi Narak [email protected] 15/ต.ค./2014 20:50
Views: 839 Taonoi Narakmak
WAMP alias directory/ Prepros page update/ (Hello World webpage tutorial)
Create an HTML document and dynamically update it using a WAMP server and Prepros. Also, creating an alias directory in a WAMP server. Direcions: This assumes that you have already installed WAMP and PrePros Step: Go to the folder where wamp is and search for the www directory. usually, if you have not changed the directory location upon install, it will be here... c:/wamp/www/ Step 2: In this directory, create a folder, or add a folder of you choice If you add a folder, make sure the file that you would like to launch is named index.php Step 3: If there is no file in the folder, create an index.php file. For tutorial purposes, write the code for Hello World in the video Step 4: Left click on the upward carrot ^ on the taskbar. Step 5: Left click on the wamp icon Step 6 Click on Apache, Alias directories, + Add an alias Step 7: Follow directions on the command screen Step 8: Open Prepros and drag in file. Step 9: Click More Options, Project Options Step 10: Click the "Live Preview Custom Server" box Step 11: Type in the server url into the box that pops up. This url was created in Step 7. For example, for the example above, it is http://localhost/testone Step 12: Click "Save Options" Step 13: Click on "Live Preview", Open Live Preview Hello World should appear in the browser. Now, whenever you edit the page and save it, the browser will automatically be updated.
Views: 3652 techy techee
Apache - disable and enable directory listing
Apache http server can be downloaded from: http://httpd.apache.org/ In httpd.conf disable directory listing Options -Indexes enabledirectory listing Options +Indexes More about this video: http://jiansenlu.blogspot.ca/2014/01/apache-disable-directory-listing.html
Views: 9575 Jiansen Lu
Change Apache2 Default Index.html
Change Apache2 default Index.html file even if var/www/html path not visible inside root directory after pressing ctrl+h..
Views: 13150 Taha Temuri
Часть 4 | как создать свой проект Minecraft!
5 урок от 10 лайков. команды: sudo apt-get update sudo a2enmod rewrite sudo service apache2 restart sudo nano /etc/apache2/sites-enabled/000-default.conf /Directory /var/www/html/ Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all //Directory/ sudo service apache2 restart sudo nano /var/www/html/.htaccess RewriteEngine on sudo chmod 644 /var/www/html/.htaccess
Views: 70 Sakura
Configuring Web Server on Ubuntu
apache2.conf: the main Apache2 configuration file. Contains settings that are global to Apache2. conf.d: contains configuration files which apply globally to Apache2. Other packages that use Apache2 to serve content may add files, or symlinks, to this directory. envvars: file where Apache2 environment variables are set. httpd.conf: historically the main Apache2 configuration file, named after the httpd daemon. The file can be used for user specific configuration options that globally effect Apache2. mods-available: this directory contains configuration files to both load modules and configure them. Not all modules will have specific configuration files, however. mods-enabled: holds symlinks to the files in /etc/apache2/mods-available. When a module configuration file is symlinked it will be enabled the next time apache2 is restarted. ports.conf: houses the directives that determine which TCP ports Apache2 is listening on. sites-available: this directory has configuration files for Apache2 Virtual Hosts. Virtual Hosts allow Apache2 to be configured for multiple sites that have separate configurations. sites-enabled: like mods-enabled, sites-enabled contains symlinks to the /etc/apache2/sites-available directory. Similarly when a configuration file in sites-available is symlinked, the site configured by it will be active once Apache2 is restarted. -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- #apt-get install apache2 # #cd /etc/apache2/sites-available Now Create your own website here. #sudo cp 000-default.conf mysite.conf #sudo nano mysite.conf DocumentRoot /var/www/mysite # cd /var/www/ # sudo mkdir mysite # cd mysite # nano index.html Hello this is my first website in Apache #systemctl reload apache2 #sudo a2dissite 000-default #sudo a2ensite mysite #/etc/init.d/apache2 restart ----------------------------------------------- #cd /etc/apache2/ ports.conf (Ports on which Apache is running) pico apache2.conf (Main Configuration file) ---------------------------------------------------- To enable secure sites #systemctl reload apache2 #sudo a2enmod ssl #sudo a2ensite default-ssl #/etc/init.d/apache2 restart +-------------------------------------------------- To check which Webserver is running ifconfig check the IP open browser On windows and type http://(ip address)
Views: 460 Usman Asim
How to Delete the Apache Default Page
In this video, I show you how to delete the Apache default page so you can run your code in your web browser. You will: 1) Look up your IP address 2) Type your IP into the Web browser 3) go to /var/www/html 4) Give yourself access to that directory: /var/www/html 5) Delete the Apache Default Page: index.html Written out lesson:http://www.codingcommanders.com/LAMP/apache_default_page.php File Path/Location: http://www.codingcommanders.com/htmlMatFiles/linksH.php Intro to Linux: https://www.youtube.com/watch?v=GEFKTO1gV-Q Set up LAMP environment (playlist): https://youtu.be/NZYPGiUb5W4?list=PLcNtJ13M_gfVhVuFP-d-CZAquXJrxv78k
Views: 6049 Coding Commanders
Install Apache Server 2.4.17 for Windows to Access External Drive from Internet
This is a how to video showing how to Install Apache Server 2.4.17 for Windows to Access External Drives from Internet or Locally. This will work for Windows 8, 8.1 10. Didn't test on Windows 7 Open Port 80 on your router for your Computer's Internal IP Address - In my case, it is Download & Install Apache Server for Windows - http://www.apachelounge.com/download/ Download & Install Visual C++ Redistributable for Visual Studio 2015 - https://www.microsoft.com/en-us/download/details.aspx?id=48145 Open Firewall for Apache Server - Start Apache - Windows firewall, Public, Private Go to or in my case internal ip address, your internal ip address will likely be different. It should say It Works or whatever is in the Index.html file in the htdocs folder in Apache24 on the C:Drive. We need to know the name of the computer. Go to Control Panel - System and you will see Computer name - in my case it is Lenovo-PC Now we need to share our External Drive. Right click on the External Drive. Click properties, then Sharing, then Advanced Sharing. Put a check in the Sharing box and save. Make sure permissions say Read only. Edit http.conf file in C:\Apache24\Conf\ folder. These changes allow you to use the External Drive instead of the C:\ Drive Change DocumentRoot "c:/Apache24/htdocs" to DocumentRoot "F:\Televison" Change Directory "c:/Apache24/htdocs" to Directory "F:\Televison" Directory Directory Change AllowOverride none to AllowOverride all Require all denied Require all denied /Directory /Directory Now you will be able to Access the External Drive 3 different ways. 1.) Access locally from 2.) Access locally from your internal IP Address. 3.) Access remotely from the Internet using your External IP Address. You can find your External IP Address by typing What's my IP in a Google Search. You might possibly need to restart your computer for the changes to take effect. It's important to learn to Password protect your server which will be in the next video.
Views: 2681 Vincent Russell
How to Set Up Apache Virtual Host on MacOs Sierra
Setting up Apache Virtual Host on Your Mac. Basic commands and where directories are found. Open and edit the httpd file found at /private/etc/apache2/httd.conf or /etc/apache2/httpd.conf Open the file and uncomment the Virtual Host include Open and edit httpd-vhosts.conf file found at /private/etc/apache2/extra/httpd-vhosts.conf or /etc/apache2/extra/httdp-vhosts.conf Add VirtualHost *:80 DocumentRoot "/Users/username/Sites/foldername" ServerName test.local /VirtualHost Open and edit the hosts file locate at /etc/hosts Add test.local
Linux Apache DocumentRoot.avi
A walkthrough of changing the DocumentRoot of an Apache webserver in Linux
Views: 1481 CNAWebDeveloper
change root folder wamp
change root folder wamp
Views: 3593 Ahmad Efendi
Manually Installing and Configuring Apache 2.4 VC14 on Windows 10
I cover the process of manually installing and configuring the 64-bit version of Apache 2.4 on Windows 10 for local development. The version of Apache 2.4 that I choose to download is one that will work with PHP. I spend some time going over various problems that you might encounter. Table of Contents 1:11 Downloading the web server program. 2:41 Verifying the SHA-1 checksum of the software. 4:36 Extracting the program to C:\Apache24 5:15 Running the server from the command prompt 5:42 Troubleshooting the missing VCRUNTIME140.dll error message 7:35 Instructing Windows Firewall to allow access to the web server for private networks only. 8:00 Troubleshooting the "AH00072: make_sock: could not bind to address" error message. 10:18 Starting the program successfully for the first time. 10:55 Determining where the "It works!" web page comes from. 11:53 Creating a virtual host configuration entry to support multiple websites for local development. 14:15 Stopping and starting the server that is still running from the command line. 14:45 Editing the hosts file that tell my computer that specific website address go to my local computer. 16:12 Figuring the "Access is denied" message when trying to save the hosts file. 17:05 Troubleshooting when your web browser searches for the website address instead of actually navigating to it in the address bar. 17:45 Figuring out what causes the "You don't have permission to access / on this server" message. 20:42 Creating an index.html test file. 21:32 Troubleshooting seeing index.html.txt file instead of the contents of the test page. 23:00 Changing more settings in the httpd.conf file (AllowOverride to All and removing the Indexes option). 23:56 Revisiting another variation of the "You don't have permission to access /" message. 26:10 Looking at the "AH00526: Syntax error" message 26:40 Installing Apache 2.4 as a Windows service 28:30 Looking at the Apache Monitor 29:25 Troubleshooting the "The requested operation has failed" message when starting the web server from the monitor. 31:26 Getting the Apache Monitor to automatically start.
Views: 13552 ProgramOften
Changing the Apache root htdocs directory in XAMPP - Lucid Nerd Tutorial
Changing the Apache root htdocs directory in WAMP XAMPP. In this tutorial I will cover how to change the default htdocs directory that Apache looks for, to some other folder of your choosing on your harddrive. LINKS: LUCID NERD LINKS: Subscribe: http://www.youtube.com/subscription_center?add_user=thelucidnerd Lucid Nerd Channel Page: http://www.youtube.com/thelucidnerd Lucid Nerd Blog: http://www.lucidnerd.wordpress.com Follow on Twitter: http://twitter.com/#!/thelucidnerd Facebook Page: http://www.facebook.com/pages/The-Lucid-Nerd/231999260192935 Google+ Page: Add us to your circles. https://plus.google.com/114985352481079158185 Lucid Nerd on iTunes: http://itunes.apple.com/gb/podcast/lucid-nerd/id495715746 Lucid Nerd Channel Description: The Lucid Nerd is a channel offering beginner computer tutorials covering everything form computer basics to web development and computer programming. VIDEO RELATED LINKS: XAMPP homepage: http://www.apachefriends.org/en/xampp.html Apache homepage: http://httpd.apache.org/ MySQL homepage: http://www.mysql.com/ PHP homepage: http://www.php.net/ REPEATED TAGS FOR SEO: Specific Tags: Apache Root WWW Directory XAMPP "Lucid Nerd" Tutorial "WWW Directory" "Windows 7" "Apache HTTP Server" General Tags: "Lucid Nerd" "Computer Tutorials" "Computer How To's" "Beginner Computer Tutorials" Computer Tutorials Beginner "Web Development" "Computer Programming" "Windows 7" "Mac OSX" Educational Help
Views: 71389 lucidnerd.com
403 Forbidden | .htaccess, Test and Configure
.htaccess | Configuring and Testing Custom Error Responses | 403 Forbidden example Author: Dmytro Dzyubak http://www.dzyubak.com intro and outro music by Dmytro Dzyubak Transcript Configuring and testing customized 403 Forbidden response using .htaccess file. In this example we are going to use an .htaccess file located in the DocumentRoot where custom 403 error document or custom text to be displayed is configured. Additionally, our project has the "forbidden" directory which is used to test if our configuration actually works. The "forbidden" directory contains another .htaccess file and three dummy files with just some random data inside. First we have to make sure that accessing the "forbidden/" directory triggers the 403 Forbidden error. This can be done by placing a specially configured .htaccess file inside the "forbidden/" directory. Do not confuse this .htaccess file with the one from the document root directory. So the .htaccess file located inside the "forbidden/" directory has Indexes turned off. This code ensures that directory listing is disabled and we won't be able to see any of these files when accessing the "forbidden/" directory from the browser. Additionally, make sure that you do not have any index file inside this "forbidden" directory, otherwise this example won't work and we will get 200 OK response instead. Now we are sure that accessing the "forbidden/" directory triggers the 403 Forbidden error. So let's try it! Let's launch our browser. Now when we try to access the forbidden directory (I type "f-o-r-b-i-d-d-e-n", slash and hit Enter) we get 403 Forbidden status code and "Forbidden. Directory listing has been disabled." message. This message is taken from this string of an .htaccess file located in our web root. Certainly, we could provide here a "/403.html" page instead. This just shows various possible ways of configuring Apache using the .htaccess file. like / subscribe :-)
Views: 6009 dzyubak
Wampserver DocumentRoot.avi
A walk through of setting a new document root for a Wampserver
Views: 387 CNAWebDeveloper
How to set or change htdocs DocumentRoot in Apache Xampp or Wamp
in this video Simplywise teach you How to set DocumentRoot in Apache either you use wamp or xampp you can easily change htdocs defualt location or directory using httpd.conf How to set or change htdocs in Apache Xampp or Wamp ============================================== Please HELP SimplyWise to gain 1000+ Subscriber ============================================== Please Don't miss New Vidoes, Subscribe To My Channel and Get More Great Tips and Tricks https://www.youtube.com/channel/UCrD7_eNJZprO53tudMCvFpw?sub_confirmation=1 If you want to join SimplyWise on FB https://fb.me/UTCSW ============================================== **************************************************************** **************************************************************** Special Request:- ***************** To watch more useful videos Please check link below https://www.youtube.com/channel/UCrD7_eNJZprO53tudMCvFpw/videos **************************************************************** ****************************************************************
Views: 214 SimplyWise
Setting Up Password Protected Directories in Apache 2 in Ubuntu
Setting Up Password Protected Directories in Apache 2 in Ubuntu 10.10 Maverick Meerkat, using .htpasswd and .htaccess.
Views: 12252 Carly Salali
Change htdocs directory on linux [Nexto.cool]
just edit file /opt/lampp/etc/httpd.conf find #DocumentRoot "/opt/lampp/htdocs" and edit that location you wish. this is example from mine. DocumentRoot "/home/lembu/lampp" Directory "/home/lembu/lampp thanks, and good luck guys
Views: 15 NEXTo cool
How to Install SSL Certificate on Linux Apache Web Server
SSL stands for Secure Sockets Layer, the protocol which provides the encryption. SSL Certificates provide secure, encrypted communications between a website and an internet browser. SSL Certificates are typically installed on pages that require end-users to submit sensitive information over the internet like credit card details or passwords. SSL certificate used to secure our web site and web app. Steps to install SSL Certificate on Linux(Ubuntu/Debian) Apache Web Server. Step1: Install OpenSSL on Linux OpenSSL is a software library to be used in applications that need to secure communication over the internet. To install on Ubuntu/Debian run the following command sudo apt-get update sudo apt-get install openssl Step2: Generate Key and CSR for certificate request CSR stands for Certificate Signing request, To generate server key file run the following command, replace example.com to your domain name on which you want to install ssl certificate. openssl genrsa -out example.com.key 2048 Generate CSR file you may run the following command openssl req -new -sha256 -key example.com.key -out example.com.csr When you will run the above command it will ask your information like Country: IN State / Province: XYZ City: XYZ Department:XYZ Organization: XYZ Common Name: www.example.com *Fill your details and hit enter, In Country provide two digit of your country code(example India: IN, USA: US etc ) Download these two file(example.com.key and example.com.csr) and submit submit it to certificate provider, Than they will issue certificate. The certificate should contains two file .crt and .ca-bundle or bundle.crt Put your certificate file, bundle file and key file in the directory /etc/ssl/certs/ SSLCertificateFile --- Certificate file SSLCertificateKeyFile --- Server key file SSLCertificateChainFile --- bundle file step3: Configuration of Certificate in Apache web server Add the virtual host in apache sudo nano /etc/apache2/site-enabled/000-default.conf virtual host like <VirtualHost *:443> ServerAdmin [email protected] DocumentRoot /var/www/html ServerName example.com ServerAlias www.example.com SSLEngine on SSLCertificateFile /etc/ssl/certs/example.com.crt SSLCertificateKeyFile /etc/ssl/certs/example.com.key SSLCertificateChainFile /etc/ssl/certs/example_bundle.crt <Directory /var/www/html> Options FollowSymLinks AllowOverride All </Directory> </VirtualHost> #Redirect all http traffic to https <VirtualHost *:80> ServerName example.com ServerAlias www.example.com Redirect permanent / https://www.example.com </VirtualHost> Now enable SSL Mode in apache sudo a2enmod ssl Restart apache services sudo service apache2 restart Step4: Test Open your website URL in web browser eg. example.com or www.example.com Done!!! install ssl certificate how to install ssl certificate apache how to install ssl certificate godaddy how to install ssl certificate in linux how to install ssl certificate cpanel install ssl certificate apache ubuntu install ssl certificate apache centos apache ssl configuration step by step how to install ssl certificate in linux apache install ssl certificate linux command line ubuntu 16.04 apache ssl enable ssl apache2 ubuntu install godaddy ssl certificate apache ubuntu ubuntu ssl certificate location apache2 enable ssl install comodo ssl certificate apache ubuntu ubuntu install ssl certificate create self signed certificate ubuntu ubuntu 16.04 apache ssl
Views: 51696 X Admin
How to install Apache web server on windows | 2018
In this video you learn how to run apache web server on windows machine like xp,win7,win8,win10. Follow this step. Step 1: download the files Apache ZIP file from www.apachelounge.com/download/ you should also download and install the Windows C++ runtime from Microsoft.com. Step 2: extract the files We will install Apache in C:Apache2, so extract the ZIP file to the root of the C: drive Step 3: configure Apache Apache is configured with the text file httpd.conf contained in the Apache folder. Open it with your favourite text editor. There are several lines you should change for your production environment. ====================================================== Line32 ServerRoot "c:/Apache24" Line58 Listen 80 Line246 DocumentRoot "c:/localhost" *Directory "c:/localhost"* ( Replace * with angle bracket ) Now Save and close the file Step 4: install Apache as a Windows service The easiest way to start Apache is to add it as a Windows service. From a command prompt, enter: C:\Apache24\bin httpd -k install Step5: Run Apache web Server Alternatively, set the Startup type to “Manual” and launch Apache whenever you choose using the command “net start Apache2.4”. If You Getting any error plz comment... ====================================================== Source web site https://www.sitepoint.com/how-to-install-apache-on-windows/ ====================================================== How to install Ngrok in windows https://youtu.be/yu14RiMxSas
Views: 4646 Hack N Win
How to choose the directory index in LxAdmin - LXAdmin Tutorials
How to choose the directory index in LxAdmin • Log into Lxadmin. • Scroll down and click on Directory Index icon. • Directory Index allows you to choose which file type will be the index. Once chosen, the server will look for that file type first. • Click Enable Directory Index. Select your desired file type. File type will be added. Click on Update button.
Views: 461 kvchosting
How To Move  Apache Web Root to a New Location on Ubuntu Linux
On Ubuntu, by default, the Apache2 web server stores its documents in /var/www/html, which is typically located on the root filesystem with rest of the operating system. Sometimes, though, it’s helpful to move the document root to another location, such as a separate mounted filesystem.
Добавить сайт Apache Ubuntu
Добавление сайта в Apache Ubuntu 1) Создадим директорию для сайта в папке var/www 2) Добавим файл конфига в etc/apahce/sites-avaliable угловая скобка VirtualHost *:80 угловая скобка ServerName nameSite.lc ServerAdmin [email protected] DocumentRoot /var/www/nameSite.lc/ угловая скобка Directory /var/www/nameSite.lc/ угловая скобка Options Indexes FollowSymlinks AllowOverride All Require all granted угловая скобка /Directory угловая скобка ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined угловая скобка /VirtualHost угловая скобка 3) Добавим запись о сайте etc hosts nameSite 4) В командной строке добавим сайт sudo a2ensite nameSite 5) Перезагрузим apache sudo /etc/init.d/apache2 restart
Views: 22 Miromir
[LINUX] - #17 Installare redmine 3.3.3 su Centos 7
In questo video vedremo come installare Redmine, un applicazione che consente di gestire clienti/progetti ed helpdesk ticketing. Supporta mysql e postgres. Tutto su Centos 7 LINK: FACEBOOK: https://www.facebook.com/sistemistaitaliano/?ref=bookmarks GOOGLE+: https://plus.google.com/?hl=it TWITTER: https://twitter.com/sistemistaitali PASSAGGI INSTALLAZIONE: http://devopsknowhow.blogspot.it/2016/03/how-to-setup-redmine-in-centos-7.html yum install -y curl-devel openssl-devel httpd-devel apr-devel apr-util-devel mod_fcgid gcc-c++ mysql-devel mariadb-server httpd httpd ImageMagick ImageMagick-devel zlib-devel yum groupinstall "Development Tools" yum install -y ruby-libs ruby ruby-rdoc ruby-devel rubygems mysql_secure_installation gem install rack -v=1.6.4 gem install passenger -v=5.0.10 --conservative gem install passenger passenger-install-apache2-module mysql -uroot -p create database redmine character set utf8; create user 'redmine'@'localhost' identified by 'password'; grant all privileges on redmine.* to 'redmine'@'localhost'; wget http://www.redmine.org/releases/redmine-3.3.3.tar.gz tar xvzf redmine-3.3.3.tar.gz cd redmine-3.3.3 mv * /var/www/redmine Rename redmine/config/database.yml.example to database.yml, and edit it production: adapter: mysql2 database: redmine host: localhost username: redmine password: redmine encoding: utf8 gem install bundler cd /var/www/redmine bundle install cd /var/www/redmine rake generate_secret_token RAILS_ENV=production rake db:migrate RAILS_ENV=production rake redmine:load_default_data chown -R apache:apache files log tmp public plugins chmod -R 755 files log tmp public plugins Create /etc/httpd/conf.d/redmine.conf (Change passenger version according to your installed version) LoadModule passenger_module /usr/local/rvm/gems/ruby-2.0.0-p648/gems/passenger-5.0.23/buildout/apache2/mod_passenger.so PassengerRoot /usr/local/rvm/gems/ruby-2.0.0-p648/gems/passenger-5.0.23 PassengerDefaultRuby /usr/local/rvm/gems/ruby-2.0.0-p648/wrappers/ruby Listen 8080 VirtualHost *:8080 ServerName localhost DocumentRoot "/var/www/redmine/public/" Directory "/var/www/redmine/public/" # This relaxes Apache security settings. AllowOverride all # MultiViews must be turned off. Options -MultiViews /Directory /VirtualHost ATTENZIONE QUI MANCANO LE PARENTESI ANGOLARI PERCHE' YOUTUBE NON LE SUPPORTA
Views: 3699 Sistemista Italiano
Install WampServer on Windows - Drupal video tutorial from SlashNode.in
In this video I will show you How to install WAMP Server on windows and how to configure DocumentRoot. for starting your Drupal Learning Process the first thing you need to do is setup a development environment on your machine. For that you need to install PHP, MySQL and Apache. but configuring these three tools is not easy an task. If you are able to make it work correctly then consider yourself lucky. If not then do not worry at all. Wampserver is an amazing tool that has PHP MySQL and Apache Server pre-configured. All you need to do is go to Wampserver.com, download the latest release and install it on your windows machine just like any other application. I have already downloaded it on my desktop. Let me install it now. I recommend to install it at c:\wamp That is it! within few minutes your development environment is ready for you. No need to worry about complex configurations. Wampserver is hassle free way to configure your machine. Let me start the Wampserver and to test it I will open http://localhost in my browser Another thing that I want to show you in this video is how to specify your own DocumentRoot, which is the place where all your website files are stored. You can use the default DocumentRoot directory but that is deep inside the wamp folders and it is always better to have it separately. I recommend a directory like c:\websites If you have installed Wampserver at c:\wamp then go to c:\wamp\bin\apache\Apache2.2.14\conf and open httpd.conf in notepad++ which is amazing tool for editing text files. Search for DocumentRoot. Once you find this line change the directory path to the one we created earlier DocumentRoot "C:/websites/" Now search for the line containing Directory "OLD_PATH" and replace the path with the new path. So this line would look like. Directory "C:/websites/" Thats it. Now restart the Wampserver and our server is ready now! I hope now you can install & configure Wampserver on your windows machine. For more videos please visit our website: http://www.slashnode.in Follow us on twitter: http://www.twitter.com/Slash_Node Like us on facebook: http://www.facebook.com/SlashNode.in
Views: 1307 slash node
The steps to Change the XAMPP Document Root Folder location - Linux and MacOS
The steps to Change the XAMPP Document Root Folder location - Linux and MacOS Do you need to change the XAMPP Root Folder Location? Follow these steps to The easy way to Change the XAMPP Root Folder location in Linux and MacOS. Advertisement: Earn up to $30 per 1000 clicks : https://linkvertise.net/ac/18643 (*) You may also be interested in books on XAMPP: https://amzn.to/2DrxEuA Thanks for watching and please don't forget to "Like" and "Subscribe". COMMANDS & LINKS: Apache2 Config File : httpd.conf Apache2 Config File location: /opt/lampp/etc/httpd.conf Apache2 Virtual Hosts file : /opt/lampp/etc/extra/httpd-vhosts.conf 2nd Apache2 Config File : /opt/lampp/apache2/conf/httpd.conf ========================== Items of Interest: DropBox 2GB Free Storage : https://db.tt/x45vSLt3 (*) Private Internet Access VPN: http://www.privateinternetaccess.com/pages/buy-vpn/jlavelle (*) Affordable Web Hosting : https://rapidtechhosting.com/clients/aff.php?aff=43 (*) LastPass Password Manager : https://lastpass.com/f?31733492 (*) - Free OneDrive 5GB Free Storage : https://onedrive.live.com?invref=1e6be62e96d0ad01&invscr=90 (*) Internet development : http://jlavelle.uk Visual Accounts : https://visualaccounts.co.uk Facebook : https://www.facebook.com/jlavelle.uk/ If you found the video useful, become a Patron: https://www.patreon.com/jlavelle NOTES: I tend to make the videos "on the fly", there's no script and everything is done from memory with just a few notes to jog the "old, grey cells". I do apologise for the umms, ahhs, erms, and pregnant pauses in the video - men tend not to be quite as good at multi-tasking :D . I will, when possible, copy and paste commands to make the videos a little quicker and so as to not waste your time. I can type or talk but cannot do both well simultaneously! BIO: John trained as a Systems Analyst/Programmer, has also worked as a Systems Administrator on Windows Servers and Workstations and has been dabbling with Linux since the mid 1990s. Along the way John has learnt and used COBOL, C, C++, Visual Basic, Delphi, PHP (HTML, CSS, JavaScript etc.), SQL, various Scripting languages and some proprietary database languages. John wrote his first website in early 1996 using Windows Notepad (no IDEs were available then) and, later, started using HotDog before moving to Dreamweaver then to NetBeans and Atom. John, now, is freelance and develops software solely for the Internet. John uses both Windows and Linux daily and develops web software in both environments using PHP, HTML, CSS (Sass & Less), SQL, JavaScript and various frameworks as the project dictates. (*) = Affiliate Link. I will receive either free storage space or a small commission from these links.
Views: 67 jlavelle.uk
.htaccess, Configure and Test | General Intro, 404 Not Found
like / subscribe :-) .htaccess | Configuring and Testing Custom Error Responses | General Introduction and 404 Not Found page example Author: Dmytro Dzyubak http://www.dzyubak.com intro and outro music by Dmytro Dzyubak Transcript Configuring and testing custom error responses using .htaccess file. General Introduction and 404 Not Found page example. The DocumentRoot also known as web root directory contains the following files relevant to our current example: .htaccess file, 404.html and index.html. Custom error documents can be configured using the ErrorDocument directive. 3-digit-code represents HTTP response status code. This can be Client Error class or Server Error class of status code. Note that Client Error codes begin with the digit "4", whereas Server Error codes begin with the digit "5". The action can be a file or a string. To see the HTTP response status codes coming from the server: launch your browser (I will use Google Chrome) and open the "Developer tools". In my current setup, I can open "Developer tools" by pressing the F12 key on my keyboard. The F12 key might work for you too, depending on your setup or just find them somewhere in the menu. Then open the network tab. Firefox has similar "Developer Tools" and the "Network" tab as well. From now on we will be able to see the response status codes coming from the server. 200 OK and 404 Not Found. If we try to access the index page, we get it! Because it exists on the server. This is a 200 response, everything is OK. If we try to access the page that does not exist (for example, I will type "non-existant-page" and hit enter), now we get the 404 Not Found status code and the contents of a 404.html page in response. This line of our .htaccess file has been the case. And the 404.html file contents is the following: "404 page" header centrally-aligned as can be seen here. This ErrorDocument directive pointed to the 404.html file. That's why 404.html file has been returned from our server. If we comment out this line and try to access the same URL / web address the default or so called "generic error response" 404 page is returned instead by the Apache Server. If we remove the comment, we will get our customized 404 page back again. Further information about ErrorDocument directive can be found in the Apache documentation which is available by visiting this URL ( https://httpd.apache.org/docs/current/custom-error.html ).
Views: 4030 dzyubak
How to install Apache, PHP, MySQL, phpMyAdmin and change web root directory on Ubuntu 18.04
Here I have brought the complete guide with everything you need to know to install Apache, PHP, MySQL, and phpMyAdmin in your Ubuntu 18.04 computer. Also, I have shown that how to change the Apache web root directory so that you can easily access your server root directory. I hope that this video will be helpful for you if you want to set up lamp stack in your Ubuntu pc. If you have any problem with any step then please comment or you can send me a message to my Facebook account which is https://facebook.com/wEbCoAdEr
Views: 209 wEbCoAdEr
Drupal 7 - Debian 7.8 - Part 03 - Setup VirtualHost
Installing package: apache2, mysql-server, php5, php5-gd, php5-common, and php5-mysql. Disable (if there is one) previous site. Creating VirtualHost for deployed web server. Creating DocumentRoot directory.
Views: 73 Andi Sugandi
how to change localhost path
Go to this location -- C:\xampp\apache\conf Open this file ----- httpd.conf find This type Code DocumentRoot "C:\xampp" Directory "C:\xampp" After change DocumentRoot "E:\MANOJ\PHPprogram" Directory "E:\MANOJ\PHPprogram" Thank you Best of Luck for Programing
Views: 63 Tech Port
How to Change Server Document Root? | Virtualhost Creation | Linux Ubuntu
In this video I have discussed and showed how you can change your Linux Ubuntu Server /var/www/html document root to a folder owned by your Linux Ubuntu user. Focus Subject: # How to change Linux Ubuntu Server Document root? # How to create virtual host? Lets explore me and my works: Video Blog: http://mofassel.me Company Website: http://spellbit.com Facebook Page: https://facebook.com/WebGuyMofassel Twitter Profile: https://twitter.com/@WebGuyMofassel
PHP and  MYSQL with classes Part 1 || Every Thing Clear  full explanation ||  build project
Xampp Setting Step 1: Open C\:Xampp\apache\conf\httpd Replace 80 with 8080. Change DocumentRoot path to DocumentRoot "D:/PhpAppWorks" Change Directory path to Directory "D:/PhpAppWorks" Note it depends in which drive you want to work. Step 2: Open C:\xampp\php\php.ini set Change error_reporting to error_reporting = E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR By World Gyan || worldgyan.com || world gyan
Views: 39 WorldGyan