Search results “Options indexes virtualhost”
8  Options Indexes
Views: 153 Roberto García
วิธีทำ 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: 891 Taonoi Narakmak
Web Server: Enable Directory Listing / Directory Browsing with .htaccess & create files with no name
Web Servers hide the contents of folders by default. If there’s no index.html or index.php file, it will show a "403 Forbidden" error. That means that the folder exists, but you don’t have access to it. Different from a "404 Not Found" error, meaning no such folder exists. If you want to see the files inside all folders, you need to put this .htaccess file in the directory you want to enable Download htaccess zip http://www.mediafire.com/download/qm398c6l99xl8o8/htaccess+File+Inside.zip UnZip it and it should work. (This is if you’re having trouble creating files with no name, only an extension) ➤Create .htaccess file -Open notepad (or other text editor) -Save a blank file called ".htaccess" (no filename just an extension) -Make sure you change the "Save as Type" dropdown from "Text Document *.txt" to "All files" -Use ftp software to copy the .htaccess file to your web server -You might need to "Show hidden files" in order to see it ➤Configuring htaccess ➨"Options +Indexes" -Adding this enables the list of files in the folder -Capitalization doesn’t matter -You can comment out lines with a hashtag/number sign (#) ➨"IndexOptions FancyIndexing" -This changes the display ➨"Options -Indexes" -this hides the listings. Add a new .htaccess file in a subfolder to disable directory listing in that folder and keep it active in the containing folder ➨"DirectoryIndex 1.txt" -This sets the default page to load instead of index.html or index.php (as long as 1.txt exists) ➨"IndexIgnore *.txt *.doc" -This excludes any files with the extension txt & doc from the list -They’re still accessible by direct URL, but just won’t show up if directory listing is enabled More Detailed video https://www.youtube.com/watch?v=hsaaVCB55dQ
Views: 41022 TanUv90
Apache Secure Tutorial: Hide HTTP Header and Disable Directory Listing
This is one of the basic secuirty hardening and first steps, by default server will show the OS information and Apache version in the footer whenever a page not found or any other requests replies. One of the first steps when you start securing your Apache server is to disable the directory browsing, you don't want anyone to browse your file and know the structure. Other Apache Hardening Tutorials: 1- Secure Apache Web Server - Use SSLScan and Disable Ciphers: https://goo.gl/mb7pYz 2- Apache Secure Tutorial: Hide HTTP Header and Disable Directory Listing: https://goo.gl/VqcLrG 3- Apache Hardening Tutorial: Disable HTTP Trace / Cross Site Method https://goo.gl/KJnbDS Disable Server Response Header vi /etc/httpd/conf/httpd.conf Add ServerTokens Prod Save Restart Apache service httpd restart "RHEL/CentOS 6 and earlier versions" systemctl restart httpd "RHEL/CentOS 7 and earlier versions" Disable Apache Trailing Footer vi /etc/httpd/conf/httpd.conf Add ServerSignature Off Save Restart Apache service httpd restart "RHEL/CentOS 6 and earlier versions" systemctl restart httpd "RHEL/CentOS 7 and earlier versions" n this example i will disable browsing for /var/www/html/dotsway folder. vi /etc/httpd/conf/httpd.com Add below to the directory part Options -Indexes Save Restart Apache service httpd restart OR systemctl restart httpd
Views: 3829 dotsway
Добавить сайт 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: 30 Miromir
.htaccess Tutorials - Directory Listing (index of list)
.htaccess Tutorials - Directory Listing (index of list) .htaccess code : Options -Indexes IndexIgnore * Stack Overflow Question : http://stackoverflow.com/questions/14062641/indexignore-or-options-indexes Localhost Server Configuration : Apache Version : 2.2.22 PHP Version : 5.3.13 MySQL Version : 5.5.24 WampServer Version : 2.2 More .htaccess Tutorials : http://youtube.com/playlist?list=PLhSnGF_9H8EQBxUdaBQUOrp0zYmyi7ZIG --- Links --- Hosting Coupon Codes http://coupon.verifiedjoseph.com === Email Me: http:///emailme.verifiedjoseph.com Google+ http://plus.verifiedjoseph.com Twitter : http://twitter.verifiedjoseph.com Website : http://verifiedjoseph.com Stats : http://vstats.verifiedjoseph.com === Interested in a YouTube partnership with RPM Network/Maker Studios: http://network.verifiedjoseph.com
Views: 2846 Echo 442 Studios
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: 10327 Jiansen Lu
(Part2) Create a Virtual Host for Laravel Project
As we know by default, Laravel projects are opened in /public/ folder. I personally don't like to use that path so I would like to show, how to add a Virtual Host to Laravel project. As you have noticed, my WAMPP server is running on PORT 81, so I had to use that while assigning the Virtual Host. GitHub: https://github.com/php-bread-and-butter/Laravel-5.8 Below are the code snippets that were used in httpd-vhosts.conf and hosts file: Path: D:\wamp\bin\apache\apache2.4.37\conf\extra\httpd-vhosts.conf <VirtualHost *:81> ServerName admin.lv DocumentRoot "${INSTALL_DIR}/www/lv_admin/public" <Directory "${INSTALL_DIR}/www/lv_admin/public/"> Options +Indexes +Includes +FollowSymLinks +MultiViews AllowOverride All Require local </Directory> </VirtualHost> ================================================== Path: C:\Windows\System32\drivers\etc\hosts admin.lv ::1 admin.lv
How To Set Up Apache Virtual Hosts, PHP, MYSQL, and Magento 2 on Ubuntu 14.04? Part 2 of 2
How To Set Up Apache Virtual Hosts, PHP, MYSQL, and Magento 2 on Ubuntu 14.04? Part 2 of 2 Continue from the Part 1: https://youtu.be/-eGB_DB-gag More detail information in my blog: http://www.allute.com/blog/our-blog-1/post/how-to-set-up-apache-virtual-hosts-php-mysql-and-magento-2-on-ubuntu-14-04-8#scrollTop=3400 In Github get a token in your account 5e38d034197f7462e7ad2a6ff1270ceac07864dc Composer config -g github-oauth.github.com 5e38d034197f7462e7ad2a6ff1270ceac07864dc php5enmod mcrypt apt-get install php5-intl sudo apt-get install php5-xsl Upgrade MYSQL sudo apt-get update sudo apt-get upgrade sudo apt-get install mysql-server-5.6 Change from HTTPs to SSH in Github and clone the Magento2 from there [email protected]:magento/magento2.git B: Clone Magento 2 from GitHub In your Putty window, head to the directory you created in step 0, and ensure that it is empty. Remove the index.html file you created if you followed the URL in step 0. cd /var/www/paulfan.net/public_html rm index.html git clone [email protected]:magento/magento2.git . C: Enable the www-data User sudo chsh -s /bin/bash www-data D: Install Dependencies with Composer cd /var/www/paulfan.net/public_html composer install chown -R www-data . E: Set Xdebug Max Nesting Level go to magento2 root: /var/www/magento2/magento2 go to paulfan.net root: cd /var/www/paulfan.net/public_html nano .htaccess add the "php_value xdebug.max_nesting_level 500" between php_value xdebug.max_nesting_level 500 F: Set Magento File Permissions find . -type d -exec chmod 700 {} \; find . -type f -exec chmod 600 {} \; sudo chmod +x bin/magento G: Set Up Database Table and User mysql -uroot -pYOURPASSWORD (my case is "mysql -uroot -p1Loveqotb") CREATE DATABASE magento2; // Create a new database user. We’ll call ours mageuser. CREATE USER 'mageuser'@'localhost' IDENTIFIED BY '1Loveqotb'; GRANT ALL PRIVILEGES ON magento2.* TO 'mageuser'@'localhost'; exit H: Run the Magento installation cd /var/www/paulfan.net/public_html www.paulfan.net follow the screen instruction enter your mysql password I: I had to go to my apache configuration (/etc/apache2/apache2.conf) and change this: cd /etc/apache2 nano apache2.conf Options Indexes FollowSymLinks AllowOverride none Require all granted To: Options Indexes FollowSymLinks AllowOverride All Require all granted And also enable mod rewrite: sudo a2enmod rewrite Then restart Apache: sudo service apache2 restart After that, you see your Magento potal at www.PaulFan.net We are passionate for your success. If you need help to setup, please contact us at www.Allute.com.
Views: 670 侯鵬飛
Change default config for apache
Change apache default config to obstacle permission issue ## Enable permalink Wordpress have pretty permalink features. default it's disabled. ``` a2enmod rewrite sudo gedit /etc/apache2/apache2.conf ``` And change `AllowOverride None` to `AllowOverride All` Then Run `service apache2 restart`
Views: 785 Prosenjit Manna
Apache URL Rewrite (mod_rewrite module) #57
In this tutorial you will learn how to activate Apache URL Rewrite by using mod_rewrite module. I will show you how to activate mod_rewrite module, how to modify an already defined Apache Virtual Host and I will explain what the new options are doing. During this tutorial I will spreak about the following Apache directives: Directory, Options, AllowOverride, Order and Allow. More info on: http://www.liviubalan.com/apache-url-rewrite-mod_rewrite-module
Views: 4970 Liviu Balan
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: 566 Usman Asim
Host Multiple Domains (Virtual Host) in your Apache HTTP Server XAMPP
Configure your Apache HTTP server with multiple virtual hosts to host multiple domains in a single server. Windows hosts location: C:\Windows\System32\drivers\etc XAMPP Apache vhost config file: xampp\apache\conf\extra\httpd-vhosts.conf
Views: 11969 Digital Phantom
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: 15095 ProgramOften
Laravel "Hello World" tutorial using Xampp and Composer
A tutorial indended to help you start programming with Laravel php framework, Composer and Xampp Apache solution stack. The video presents creating a Laravel "Hello World" program and adding minor alterations to it. song: Arilena Ara - Nentori (Bess Remix) https://www.youtube.com/watch?v=bSbU8SHxJe4 ================================================================================= You can download the project via Git: https://github.com/ClaRadu/laravel_h_w And if you want to see this tutorial in another form here's a link to my blog: https://crgtutorials.blogspot.ro/2017/10/laravel-hello-world-example-using-xampp.html ================================================================================= First of all I want to send a big thank you to Jeff Davis for his work on the laracasts forum https://laracasts.com/@jeffdavis https://laracasts.com/discuss/channels/laravel/how-can-i-modify-laravel-5-login-system-and-add-on-registration-a-username-or-another-field?page=1 and to Marc Garcia on codementor.io https://www.codementor.io/magarrent ================================================================================= For this application to work as intended you will need Xampp and Composer. I have used xampp v.3.0.12 and composer v.1.5.2 but the it should work regardless of the versions of these two programs. Also, it should work on Laravel 5.0 and higher. If there are any problems please let me know in the comments section below, or you can contact me via my webpage. This tutorial shows you how to create a laravel project, to get it running, and to some monor alterations to it. The full project, available via Git, is a bit more complex, but not too much, and I plan to explain it in a future tutorial. It adds minor alterations to a laravel default project. It modifies laravel's default registration procedure to make possible for a user to be registered by more details like: username, first and last name, phone number. Also, the home page and the navigation bar have suffered slight modifications. Xampp: https://www.apachefriends.org/download.html Composer: https://getcomposer.org/download/ ================================================================================= Below are the code lines you need to insert into different files for your project to work as shown in the tutorial: >>> Xampp configuration: Shown in tutorial at 0:39 Open "C:\xampp\apache\conf\extra\httpd-vhosts.conf" and add at the bottom of the file the code below (the paths can be changed to your respective paths): # VirtualHost for LARAVEL.DEV <VirtualHost laravel.dev:80> DocumentRoot "C:\xampp\htdocs\laravel_h_w\public" ServerAdmin laravel.dev <Directory "C:\xampp\htdocs\laravel_h_w"> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory> </VirtualHost> >>> Hosts file configuration (windows): Shown in tutorial at 1:00 Open "C:\WINDOWS\system32\drivers\etc\hosts" and add at the bottom of the file the line below: laravel.dev * Under Vindows 7 and later, your text editor must be run as administrator before opening the hosts file. >>> Modifying the Laravel prject Shown in tutorial at 2:26 In "C:\xampp\htdocs\laravel_h_w\resources\views\welcome.blade.php" and replace line 43 with the code below: <a style="text-align:right;" href="{{ url('/auth/login') }}">Login</a> <div class="title">Hello World from Laravel!!</div> Now that everything is set, open your internet browser and type "laravel.dev" in the address bar. You're good to go. ================================================================================= C.R.G. 2017 http://crgames.elementfx.com/
Views: 608 Claudiu Radu
Serveur LAMP français : partie 2 Configuration apache
Seconde partie du tutorial LAMP. Aujourd'hui nous allons relier un nom de domaine à notre serveur Apache 2. Pour l'exemple j'utilise le nom de domaine tuto.fr localement, c'est à dire que dans ma box dans la section DNS j'ai redirigé le nom de domaine tuto.Fr sur l'ip local de mon serveur Création du repertoire web /home/tuto/www , se rendre dans votre /home avec : cd ~ Puis créer le repertoire avec (SANS les droits root/sudo): mkdir www Ensuite création du fichier de configuration de notre site que nous nommerons tuto.fr.conf. Se rendre dans le repertoire des sites actifs: cd /etc/apache2/sites-enabled création du fichier de configuration avec les droits sudoers: sudo vim tuto.fr.conf à l'intérieur du fichier copier/coller la partie suivante en l'adaptant à votre site (les descriptions youtube interdisants les signes plus grand que et plus petit que ils ont été retirés en début et fin des balises VirtualHost et Directory): VirtualHost *:80 ServerAdmin [email protected] ServerName tuto.fr ServerAlias *.tuto.fr DocumentRoot /home/tuto/www/ Directory "/home/tuto/www" Options Indexes FollowSymLinks AllowOverride None Require all granted /Directory /VirtualHost Enregistrer et quitter avec :wq! Faire prendre en compte les modifications avec : sudo service apache2 restart
Views: 2569 VulgaNux
Prevent Directory Browsing on Apache
This video discusses how you can prevent people from browsing through your directories on your web server if you are using Apache Code GIST: https://gist.github.com/prof3ssorSt3v3/2c30c5a6b1f99f9610f59e26efb61b4c
Views: 243 Steve Griffith
How to Install Let's Encrypt SSL on CentOS 7 | Free SSL | CentOS 7 | Let's Encrypt | Step by Step
How to Install Let's Encrypt SSL on CentOS 7 | Free SSL | CentOS 7 | Let's Encrypt | Step by Step Vultr Give $50 : https://www.vultr.com/?ref=8005086-4F -Prerequisites + Have a domain name pointing to your public server IP. In this tutorial we will use hvthang.xyz * Step 1 : Install Apache on systems 1.1.Installing Apache #yum install httpd -y 1.2-Enable and start the Apache service: #systemctl start httpd #systemctl enable httpd 1.3-Open Port 80 (HTTP) and 443 (HTTPS) in Firewall #firewall-cmd --permanent --zone=public --add-service=http #firewall-cmd --permanent --zone=public --add-service=https #firewall-cmd --reload * Step 2 : Setup Apache Virtual Hosts 2.1.Create a folder for vhost #mkdir /var/www/hvthang.xyz 2.2.Create a Pages for Virtual Host cd /var/www/hvthang.xyz touch index.html vim index.html html title My Website /title body My Website /body /html 2.3.Grant Permisions #chown -R apache:apache /var/www/hvthang.xyz 2.4.Create New Virtual Host Files By default, Apache is configured to load all configuration files that ends with .conf from the /etc/httpd/conf.d/ directory. touch hvthang.xyz.conf vim hvthang.xyz.conf VirtualHost *:80 ServerName hvthang.xyz ServerAlias www.hvthang.xyz ServerAdmin [email protected] DocumentRoot /var/www/hvthang.xyz Directory /var/www/hvthang.xyz Options -Indexes +FollowSymLinks AllowOverride All /Directory ErrorLog /var/log/httpd/hvthang.xyz-error.log CustomLog /var/log/httpd/hvthang.xyz-access.log combined /VirtualHost * Step 3 : Install Certbot Certbot is a tool that simplifies the process for obtaining SSL certificates from Let’s Encrypt and auto-enabling HTTPS on your server. 3.1.Install Certbot The certbot package is provided by EPEL and mod_ssl is also required for the Encryption.First,we are need install EPEL and mod_ssl #yum install epel-release The EPEL repository is enabled - Installing Certbot #yum install 3.2.Setting up the SSL certificate certbot --apache -d hvthang.xyz www.hvthang.xyz Step 4.Test https://www.ssllabs.com/ssltest/ Song: Elektronomia & JJD - Free [NCS Release] Music provided by NoCopyrightSounds. Video: https://youtu.be/9Va88Kt0NN0 Link: http://ncs.io/Free Song: Lensko - Let's Go! [NCS Release] Music provided by NoCopyrightSounds. Video: https://youtu.be/mSLuJYtl89Y Free Download / Stream: http://ncs.io/letsgo Song: Elektronomia - Sky High [NCS Release] Music provided by NoCopyrightSounds. Video: https://youtu.be/TW9d8vYrVFQ Free Download / Stream: http://ncs.io/skyhigh
Views: 31 Happy Ghost
php not executing in virtual host under webmin (Linux Centos7)
in /etc/httpd/conf/httpd.conf add AddType application/x-httpd-php .php and comment # php_admin_value engine Off if any
Views: 5098 Nassim B.
How to : Create an alias directory with WAMP
Tags: active directory alias computer name active directory alias email active directory alias length active directory alias login active directory alias mailnickname active directory alias name active directory alias object active directory alias property alias a directory in linux alias active directory alias active directory account alias active directory domain alias active directory exchange alias active directory users alias cd directory alias cd to directory alias change directory alias command directory alias current directory alias directory .htaccess alias directory apache alias directory apache ubuntu alias directory apache windows alias directory bash alias directory example alias directory forbidden alias directory httpd.conf alias directory in apache alias directory in apache windows alias directory in linux alias directory in unix alias directory in xampp alias directory index alias directory index forbidden by options directive alias directory linux alias directory location alias directory name alias directory nginx alias directory path alias directory php alias directory terminal alias directory ubuntu alias directory unix alias directory wamp alias directory windows alias directory windows 7 alias directory xampp alias for directory bash alias for directory in linux alias for directory path in unix alias previous directory alias ssh directory alias to change directory linux alias to directory apache alias to directory in unix alias to directory linux alias user_data directory alias virtual directory alias virtual directory apache alias virtual directory iis alias working directory apache alias a directory apache alias allow directory listing apache alias directory 403 apache alias directory 403 error apache alias directory 404 apache alias directory and subdirectories apache alias directory browsing apache alias directory centos apache alias directory example apache alias directory example windows apache alias directory forbidden apache alias directory linux apache alias directory listing apache alias directory network drive apache alias directory not found apache alias directory not working apache alias directory on windows apache alias directory options apache alias directory outside of wwwroot apache alias directory permission apache alias directory permission denied apache alias directory redirect apache alias directory ssl apache alias directory tutorial apache alias directory virtual host apache alias directory windows apache alias error directory apache alias external directory apache alias parent directory apache alias remote directory apache alias root directory apache alias without directory apache directory alias wildcard apache2 alias directory permissions apache2 directory alias bash alias change directory bash alias directory path bash alias to directory bash alias working directory browserify alias directory create alias directory windows create alias directory xampp create alias for directory on linux create directory alias oracle directory alias filezilla server directory alias in windows directory alias mac directory alias powershell directory alias zsh dns alias virtual directory dos alias directory drush alias directory easyphp alias directory emacs alias directory filezilla directory alias example git alias working directory httpd alias directory forbidden iis 6 alias virtual directory k directory alias keyring alias directory lighttpd alias directory linux alias change directory make alias directory mamp alias directory mamp alias to directory mod_alias directory nginx alias directory index nginx alias directory index of is forbidden nginx alias directory php nginx alias to directory oracle alias directory os x alias directory os x directory alias owncloud directory alias name powershell alias change directory redmine alias directory rewriterule alias directory server alias directory shell alias directory svn alias directory tomcat 7 alias directory tomcat alias directory unix alias a directory unix alias directory name unix alias for directory virtual host directory alias vsftpd alias directory wamp alias directory does not exist wamp alias directory forbidden wamp alias directory not working windows 7 alias directory windows 8 directory alias xampp alias directory mac
Virtualbox - Port forward web server (guest to host)
How to forward a port (web server) guest to host on ubuntu 16.04. --- step : 1) use NAT network 2) in NAT config, click port forward, add host port 1025 and guest port 80, save. 3) open your_host_ip:1025, and will forwarded to webserver guest. -- just share
Views: 15493 A. Hasbiyatmoko
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: 16926 Skill Institution
Codeigniter 3  - Removing index php with XAMPP (Latest)
Steps you need to do: 1. Make sure you set the AllowOverride in either (\xampp\apache\conf\httpd.conf) for global settings, or (\xampp\apache\conf\extra\httpd-vhosts.conf) if you are using virtual hosts. Example Virtual Host Directory option AllowOverride All Require all granted 2. Make sure you create .htaccess and save it on your codeigniter application root folder. I am accepting programming tutorial requests using C#, VB.NET, PHP, Java, Android, Inkscape, nodejs and laravel framework. Please email [email protected] if you got some. Follow my pages: Blogspot - https://ron-script.blogspot.com Twitter - https://twitter.com/ronscript Pinterest -www.pinterest.com/ronscript
Views: 1523 ronscript
Creating a Virtual Server (Domain) in Virtualmin
In this video, I walk through the steps to create a virtual server (aka a "domain") in Virtualmin and then use three methods (File Manager, FTP, and scp) to upload a simple website. Sorry the video falls out of sync with the audio now and then; I re-did the video several times, and picked the best of them. I'm still trying to sort out why it's losing sync when I use an external microphone. If you have trouble understanding me speaking, you can turn on Closed Captions by clicking the CC button on the video. They are not auto-generated, I wrote them and they are accurate. I used a Vultr virtual machine in this video, if you want to sign up for a Vultr account, you can use this link to help support Virtualmin: https://www.vultr.com/?ref=7179801
Views: 6067 Virtualmin
Laravel 5 Ubuntu 14
Instalación de Laravel 5 en Ubuntu 14 1. sudo apt-get install php7.0-xml php7.0-mbstring php7.0-zip 2. php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" 3. php composer-setup.php 4. php -r "unlink('composer-setup.php');" 5. sudo php composer.phar global require "laravel/installer" 6. sudo cp composer.phar /usr/local/bin/composer 7. sudo ln -s /home/miguel/.composer/vendor/laravel/installer/laravel /usr/local/bin/laravel 8. rm composer.phar 9. sudo laravel new nombredemiproyecto 10. cd /etc/apache2/sites-available/ 11. sudo vi 000-default.conf 12. Youtube no deja escribir el símbolo menor que y mayor que en la descripción del vídeo así que donde veáis el símbolo * teneis que sustituirlo por el símbolo menor que y cuando veáis el símbolo ^ teneis que sustituirlo por el símbolo mayor que. *VirtualHost^ ServerAdmin [email protected] DocumentRoot /home/miguel/nombredemiproyecto/public ServerName miproyecto.com *Directory /home/miguel/nombredemiproyecto/public^ Options Indexes FollowSymLinks MultiViews AllowOverride all Require all granted */Directory^ ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined */VirtualHost^ # vim: syntax=apache ts=4 sw=4 sts=4 sr noet :wq 13. sudo a2ensite 000-default.conf 14. sudo service apache2 reload 15. sudo a2enmod rewrite 16. sudo service apache2 restart 17. sudo vi /etc/hosts 18. cd nombredemiproyecto/ 19. sudo chmod -R 777 bootstrap/ storage/ 20. miproyecto.com Si os ha servido dejarme un comentario, gracias. If this video helped you, write a comment, thank you
Views: 84 Miguel Moreno
Create Website - Make Website with Home Web Hosting & SSL
How to create website and home web hosting for multiple websites, make website with free domain & SSL certificate, create website using XAMPP and WordPress Subscribe to My Channel and Get More Great Tips: https://www.youtube.com/subscription_center?add_user=krestsss Share this Video: https://youtu.be/fjoibGAicg0 Music by Birocratic: https://www.youtube.com/channel/UCrEAQx48oTZy7f9ZWsDawKg Tracks: Fresh Healthy Perspectives; Confusing Disco Tutorial shows you, how to create a website and host it for free from home computer, step by step tutorial with testing and full explanation. Main Steps to create and web host multiple websites from home computer using XAMPP server, simple PHP coding, HTML page and WordPress You can skip steps using links under subtitles (but I strongly recommend to follow tutorial step by step to achieve full result and get full functional website) Download and Install Useful Tools: Download Notepad ++ https://notepad-plus-plus.org/download/v7.6.3.html Download and install Opera web browser, it comes with free VPN, so you can test website from another network Download Opera with VPN: https://www.opera.com/computer/features/free-vpn 1. Set a static local IP address for your server: 5:06 To host website from your home computer you should port forward special ports, so your server should have assigned a static IP address which is never changed. 2. Install Xampp server, Configure and secure Xampp: 7:19 Download XAMPP Server https://www.apachefriends.org/download.html You can use XAMPP server to create a local web server to test your websites, or as a live server to host websites on the Internet. How to Change Port 80 and Port 443 in XAMPP Server https://www.youtube.com/watch?v=rbycmTTAiqI 3. Get free domain names: 24:46 step 3 shows, how to get subdomain and domain name for free, from different websites. First website to get free sub domain: https://www.noip.com/ Second website to get free domain name: https://www.freenom.com/en/index.html?lang=en I recommend second website Freenom, but both are free and comes with good options. 4. Change 'localhost' to a Domain Name, Setup virtual hosts on Xampp: 30:47 How to create temporary index.php files for your website. Redirect a static local IP address to domain name, using hosts file. How to create virtual host on XAMPP. 5. Point domain name to your server IP address, Port Forward Your Router: 42:55 This is one of the general step to web host your own website on home server, so you have to forward port 80 (HTTP) and port 443 SSL (HTTPS). Helpful Guides for Port Forwarding: https://portforward.com/ 6. Create simple PHP page, and Connect to MySQL Database, using PHP: 49:32 How to create simple PHP page, explanation of HTML tags, and some PHP codes. How to connect index PHP page to MySQL database using PHP. 7. Download and install WordPress, manual WordPress installation with high security: 56:54 Download WordPress https://wordpress.org/download/ WordPress can be installed on online web hosting services and also on local web servers. Step 7 shows, how to install WordPress manually with high security. Create a new user account with administrator rights. Secure WordPress website by configuring wp-config.php file. 8. Get free SSL Certificate and install SSL Certificate on Xampp Server: 1:05:59 An SSL Certificate creates secure connection between website and a visitor's web browser. SSL certificate makes all data transfer private and secure. Step 8 shows, how to download free SSL certificate with three different ways from the following website (SSL For Free) and install SSL Certificate on XAMPP Server Get free SSL Certificate for your website https://www.sslforfree.com 1. Automatic FTP Verification To get SSL certificate by automatic FTP verification you need FTP Server. Install FTP Server on XAMPP - Install FileZilla Client https://www.youtube.com/watch?v=T1As7eJGDhE 2. Manual Verification: 1:09:56 3. Manual Verification (DNS): 1:20:27 9. Redirect HTTP to HTTPS: 1:28:22 Redirect HTTP to HTTPS for HTML website and for WordPress website using .htaccess file. Download all Useful codes: https://drive.google.com/open?id=1oF_ClpyK3uEdnbHQMke7Ym4XOvSzusk- Feel free to ask me any question!!! Find me on Facebook: https://goo.gl/K0jp3d Follow me on Twitter: http://goo.gl/gz2V6G This video-tutorial attempt to answer all below questions: How to create website for free? How to Create and Host Website from Home Computer? How to Create website using XAMPP Server? How to Create WordPress website? How do you make a website using XAMPP and WordPress? How to create own website? How to Download and install SSL Certificate on XAMPP server? How to Build Your Own WordPress website? How to Make Your Own Website at Home for Free? How to install WordPress on XAMPP Server? How to Build Website with free SSL Certificate, free domain and web host from home? #CreateWebsite #MakeWebsite #SSLCertificate
Views: 1207 mmk
Virtual Host + Apache httpd server + Tomcat + mod_jk connector
In my last post (Virtual Host in Tomcat) we discussed about how setup the virtual host in Tomcat. Its cost effective technique because only one public IP is enough to host multiple domain. If we have big organization and each department want to host their website in locally in different machine. then how to achieve the virtual host concept?. In this post we will see the how we do this. Vistit : http://www.ramkitech.com/2012/03/virtual-host-apache-httpd-server-tomcat.html Subscribe http://www.youtube.com/subscription_center?add_user=ramkicdac Website http://www.ramkitech.com Ramki on Twitter http://www.twitter.com/ramkicse
Views: 79392 Rama krishnnan EP
Ubuntu: Whats the simplest way to edit and add files to "/var/www"?
Ubuntu: Whats the simplest way to edit and add files to "/var/www"? Question: Having installed the web server is there a simple way to set a user able to use the graphic interface to copy files and directories to the local web server / var/www I gave myself administrative privileges in Ubuntu but it still doesn't allow copies. Solutions Sample (Please watch the whole video to see all solutions, in order of how many people found them helpful): == This solution helped 216 people == If you make /var/www writeable by its group and add the user to the group, that user will not have to use sudo. Try this: sudo adduser <username> www-data sudo chown -R www-data:www-data /var/www sudo chmod -R g+rwX /var/www The user should then be able to edit /var/www/ files without hassle. The first line adds the user to the www-data group, the second line clears up any files with messed up ownership, and the third makes it so that all users who are members of the www-data group can read and write all files in /var/www. If you are logged in as <username> you need to log out and log back in for the group membership to take effect. == This solution helped 25 people == You can chown, that is change the owner of that folder. This will allow you to change the user and group of the folder, allowing your user to add/remove files on it. To do it, replace yourusername with your name and run: sudo chown yourusername.users /var/www And thats it. ---- However, I preffer to create a virtualhost in my home folder, it's much easier. Basically it allows you to use any folder as a apache serving folder. To show it how it simple, lets assume that your username is username and that the folder that you want to serve is /home/username/www Create the following file (for instance mywebprojects) in /etc/apache2/sistes- available replacing the username and the folder path (basically just copy and paste and replace in #CHANGE HERE): <VirtualHost *:80> ServerAdmin [email protected] # CHANGE HERE DocumentRoot /home/username/www <Directory /> Options FollowSymLinks AllowOverride None </Directory> # CHANGE HERE <Directory /home/username/www/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory> ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ <Directory "/usr/lib/cgi-bin"> AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all </Directory> ErrorLog /var/log/apache2/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog /var/log/apache2/access.log combined Alias /doc/ "/usr/share/doc/" <Directory "/usr/share/doc/"> Options Indexes MultiViews FollowSymLinks AllowOverride None Order deny,allow Deny from all Allow from ::1/128 </Directory> </VirtualHost> Now lets create the www folder, add a simple hello world, disable the default website (/var/www), enable our website mywebprojects and restart apache. mkdir ~/www echo "<html><h1>Hello World</h1></html>" > ~/www/test.html sudo a2dissite default # sudo a2ensite mywebprojects sudo service apache2 restart And that it, now you dont need to go to /var/www, you simply add files to your www (or other givename) and it's already there :). With thanks & praise to God! With thanks to the many people who have made this project possible! | Content (except music & images) licensed under cc by-sa 3.0 | Music: https://www.bensound.com/royalty-free-music | Images: https://stocksnap.io/license & others | With thanks to user Marcos Roriz Junior (https://askubuntu.com/users/5950), user k_graham (https://askubuntu.com/users/8256), user karthick87 (https://askubuntu.com/users/5691), user Jorge Castro (https://askubuntu.com/users/235), user Flimm (https://askubuntu.com/users/2355), user Azendale (https://askubuntu.com/users/9308), and the Stack Exchange Network (http://stackoverflow.com/questions/19898). Trademarks are property of their respective owners. Disclaimer: All information is provided "AS IS" without warranty of any kind. You are responsible for your own actions. Please contact me if anything should be amiss at Roel D.OT VandePaar A.T gmail.com.
Views: 2 Roel Van de Paar
Установка Web-сервера под Windows #2 – Apache и PHP
Правки в httpd.conf: Options Includes Indexes FollowSymLinks AllowOverride All Allow from all DirectoryIndex index.php index.html Подключение PHP: LoadModule php7_module "C:\web\server\php\php7apache2_4.dll" AddHandler application/x-httpd-php .php PHPIniDir "C:\web\server\php" Команды для установки Apache: cd "c:\web\server\apache\bin" httpd -k install Путь файла hosts: C:\Windows\System32\drivers\etc
Views: 687 Eni WEB
Centralizando joomla
configuracion: # Virtual Hosts # _VirtualHost *:81_ ServerName localhost DocumentRoot c:/wamp64/www _Directory "c:/wamp64/www/"_ Options +Indexes +Includes +FollowSymLinks +MultiViews AllowOverride All Require all granted _/Directory_ _/VirtualHost_ #
Views: 4 alarcox sin
Configure Multi Website in Windows Server 2016
Configure Multi Website in Windows Server 2016 1. Prepare - DC21 : Domain Controller (pns.vn) ; IP - DC22 : Domain Member (Install and configure web server) ; IP - WIN1091 : Domain Member ( Client ) ; IP 2. Step by step : Create 2 Website www.pns.vn and www.pnj.vn on DC22 - DC22 : Install web service and create 2 websites basic named www.pns.vn and www.pnj.vn + Server Manager - Manage - Add Roles and Features - Next to Server Roles : Select Web Server (IIS) - Add Features - Next to Install - Close + Create a folder named PNS on C: - Create new text document and rename to "index" - View - Check "File name extensions" - Change index.txt to index.htm - Right-click index.htm - Open with - notepad - Type "This is Website of PNS" - File - save - close + Create a folder named PNJ on C: - Create new text document and rename to "index" - Change index.txt to index.htm - Right-click index.htm - Open with - notepad - Type "This is Website of PNJ" - File - save - close + Tools - Internet Information Services (IIS) Manager - DC22 - Site - Right-Click Default Web Site - remove - Yes - Right-Click Sites - Add Website... : + Site name : PNS - Physical path : C:\PNS - IP address : - Host name : www.pns.vn - OK + Site name : PNJ - Physical path : C:\PNJ - IP address : - Host name : www.pnj.vn - OK - DC21 : Create 2 records DNS for www.pns.vn, www.pnj.vn + Server Manager - Tools - DNS - DC21 - Forward Lookup Zones + Click pns.vn - Right-Click - New Host (A or AAA)... - Name : www, IP address : and select 2 options below + Right-Click "Forward Lookup Zones" - New Zone... - Choose "Primary zone" - Zone name : pnj.vn - Finish + Click pnj.vn - Right-Click - New Host (A or AAA)... - Name : www, IP address : and select 2 options below - WIN1091 : Test 2 websites, click Microsoft Edge + Type : www.pns.vn - display content "This is Website of PNS" - OK + Type : www.pnj.vn - display content "This is Website of PNJ" - OK
Views: 8631 microsoft lab
How to config cgi python apache2 Windows
How to config cgi python apache2 Windows 7 Windows 8 Windows 10 you must have python and wamp or just apache2 installing on your pc Link Wamp Windows Apache Mysql PHP http://www.wampserver.com/ Link Python https://www.python.org/downloads/ add those lignes to httpd.conf apache2 config file between directory ----------------------------------------------------------------------------------------- AddHandler cgi-script .cgi .py Options Indexes FollowSymLinks ExecCGI ----------------------------------------------------------------------------------------- index.py test page -------------------------------------------------------------------------------------------- print "Content-type: text/html" print print "Hello" ---------------------------------------------------------------------------------------------
Views: 25648 jemi aymen
2 -Yii Framework 2 - Servidor Virtual (Virtual Host)
En esta parte crearemos un virtual host para el proyecto Yii. #php #yii #yii2 Sitio web: http://jquery-manual.blogspot.com/2015/01/yii-framework-2-servidor-virtual.html
Views: 17833 Manuel J. Dávila
Laravel 5 + DigitalOcean
Установка и настройка фреймворка Laravel 5 на чистый дроплет DigitalOcean с Ubuntu 15.10. Installing and configuring the framework on an empty 5 Laravel droplet DigitalOcean with Ubuntu 15.10. Содержание: 00:11 - Создание дроплета 01:10 - Активация и установка root пароля дроплета 01:37 - Обновление индекса пакетов Ubuntu 01:40 - Установка веб-сервера Apache 02:18 - Установка MySQL 03:28 - Установка PHP 04:37 - Установка phpMyAdmin 05:50 - Создание базы данных 06:10 - Установка Curl 06:15 - Включение модуля mod_rewrite 06:30 - Установка Composer 07:00 - Установка фреймворка Laravel 5 08:20 - Настройка .htaccess 09:30 - Редактирование виртуального хоста Content: 00:11 - Creating a Droplet 1:10 - Activation and setting root password droplet 1:37 - Update Index Ubuntu packages 1:40 - Installing Apache Web Server 2:18 - Installing MySQL 3:28 - PHP Installation 4:37 - Installing phpMyAdmin 5:50 - Creating a database 6:10 - Installation of Curl 6:15 - Enabling mod_rewrite module 6:30 - Setting Composer 07:00 - Setting the framework Laravel 5 8:20 - Setting .htaccess 09:30 - Editing a Virtual Host
Views: 12418 LaTech
mod_rewrite not working on Apache in ubuntu 18.04 / 16.04 laravel routes not work
Directory /var/www/gloops/public Options Indexes FollowSymLinks AllowOverride All Require all granted /Directory sudo a2enmod rewrite
Views: 290 WorldGyan
NGINX - Introduce and Configure Simple Reverse Proxy
Introduction and Configuration Nginx Simple Reverse Proxy
Views: 17566 Learning Center
How to install Opencart on plesk
This guide show how to install OpenCart on the Plesk 1: Download the opencart 2: Login Plesk 2.1 : Create database 2.2 : Upload Opencart and extract file 2.3 : To install opencart, you have to move those file inside Upload folder to root folder of Plesk 2.4 : Create 2 file config.php with content: Blank on root folder and inside Admin folder 3: Open browser to install Opencart 3.1 During check, if see have any extention dont have, kindly install it. As my case, it dont have: mCrypt 3.2 Login Plesk via SSH or call to hosting to install it (https://www.webcorestatus.com/index.php?/Knowledgebase/Article/View/58/14/how-to-install-php-mcrypt-on-plesk-12) 4: Input those info about mysql during installation. 5: Back to Plesk to delete: install folder 6: Check your site after remove that folder Front end: http://yourdomain Back End: http://yourdomain/admin 7: Complete installation. Website: www.itcare247.com Email: [email protected]
Views: 3007 Duong Thanh Phuong
Webmin- Configuring Apache Web Server
This video covers how to edit the configuration file within Apache, how to add virtual hosts to Apache, and how to add users to the Linux server.
Views: 18157 Christopher Pace
[Nginx] 2.how to install Nginx on ubuntu 18.04
Nginx product releases are of two types: namely, stable (even version numbers) and mainline or development (odd version numbers). The “stable” versions are tried and tested versions. It consists of major bug fixes but no new features are added in the stable version. The “mainline” version includes new features and bug fixes and usually is good for testing future versions of the product. In our examples we will be using the stable version but the steps to implement and configure mainline version is the same. 1.Open terminal window and open the sources.list file using the command sudo nano /etc/apt/sources.list 2.You can add the Nginx repository links at the bottom of the file. Scroll down to the very bottom of the file and add the two lines below : deb http://nginx.org/packages/ubuntu/ bionic nginx deb-src http://nginx.org/packages/ubuntu/ bionic nginx 3. Save the file. 4. Now you can download the package lists from the repositories and update them with the information for the newest versions of the packages and their dependencies. You can do that by typing the following command: sudo apt-get update 5.You will get the following error regarding the missing signature key. It is happening because gpg is trying to sign the nginx release and check its signature.But the signing key is missing on the server and hence gpg is not able to validate the nginx package: Reading package lists... Done W: GPG error: http://nginx.org trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY ABF5BD827BD9BF62 6. Download and add the nginx signature key using the command below: # wget http://nginx.org/keys/nginx_signing.key # sudo apt-key add nginx_signing.key 7.Now try re-synchronizing the package index from the sources: #sudo apt-get update 8.Now that the package list is updated and indexed, you can install Nginx: # sudo apt-get install nginx 9. You can verify Nginx installed the version: # nginx –v Nginx Folder Structure It is important to understand how the Package Manager-based Nginx installation folder structure looks.It will help you to locate the configuration files if you want to make any configuration changes such as changing the user account under which Nginx process executes, enables, or disables mime types for your website; modify FastCGI execution parameters; identify the default document root and error logs directory;or understand where the error logs files and Nginx executable are . •You can get the complete list of all Nginx configuration details and its version by using the – V command option with nginx . Here is a sample output of the command: # nginx –V nginx version: nginx/1.8.0 built by gcc 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC) built with OpenSSL 1.0.1e-fips 11 Feb 2013 TLS SNI support enabled configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid ... output trimmed ... The Package Manager-based installation installs Nginx under /etc/nginx directory. It installs all necessary configuration files like nginx.conf file , which has the web server configuration details. It has a mine.types and fastcgi_params file that contains all the mime types that are enabled on the web server and fastcgi configuration details. All these default configurations enable the Nginx server to start: # ls –F /etc/nginx/ conf.d/ koi-utf fastcgi_params koi-win mime.types nginx.conf scgi_params uwsgi_params win-utf •The Nginx executable nginx is located in the system executable directory /usr/sbin/nginx . Since it is executing using the root user, you will need to be a root user or need to do su or sudo to start or stop the process: # ls -l /usr/sbin/nginx -rwxr-xr-x. 1 root root 890992 Apr 21 21:06 /usr/sbin/nginx •By default, the document root directory is located at /usr/share/nginx/html/ . It consists of a sample index.html and 50x.html file. You can deploy your application in the same document root directory and Nginx will serve the content: # ls /usr/share/nginx/html/ 50x.html index.html • The default error files and HTTP logfiles are located at /var/log/nginx/ . By default, there are two files: access. log and error. log . You will have to implement some sort of log file rotation mechanism such that your logfiles don’t grow up too large. You will learn more about these files and its configuration details in chapter 10 . • Try Lynx to browse to the http://localhost and you should be presented with the default index page. (If you get an alert saying Unable to connect to remote host , simply start the Nginx server using systemctl start nginx ) : # lynx http://localhost #linuxubuntu #ubuntu #nginx
Views: 453 Linux for everyone
Tutoriel 3 Pré-requis et installation Symfony 3
Tutoriel 3 Pré-requis et installation Symfony 3 installation de packages sur la VM debian pour permettre l'installation du framework Symfony 3.0.3. Pré-requis : VM Debian 8.3 apache2/ssh installé Accès root & user Connexion internet Etapes : Accès VM en user + root Installation de packages Configuration de librairies apache php Installation du Framework Configuration de l’environnement Tutoriel de 13 minutes Edition Son/Video : Final Cut Pro, Imovie, Quicktime Player, GarageBand, Compressor Détails : root apt-get install php5 php-apc php5-intl php5-mysql apt-get install mysql-server apt-get install curl modif /etc/php5/apache2/php.ini timezone Europe/Paris nano /etc/apache2/sites-enabled/000-default.conf VirtualHost *:80 ServerName domain.tld ServerAlias www.domain.tld DocumentRoot /home/webuser/www/ Directory /home/webuser/www/ Options Indexes FollowSymLinks AllowOverride None Require all granted /Directory ErrorLog $APACHE_LOG_DIR/error.log CustomLog $APACHE_LOG_DIR//access.log combined /VirtualHost apache2 restart user curl -sS https://getcomposer.org/installer | php php composer.phar -vvv create-project symfony/framework-standard-edition sf "3.0.3" root HTTPDUSER= voir Setting up Permissions http://symfony.com/doc/current/book/installation.html sudo setfacl -R -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX var sudo setfacl -dR -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX var user nano config.php add nano app_dev.php add php bin/console -V
Views: 21632 reverse-engineering.fr
Configurando o WampServer e compartilhando a pasta www
Iae Pessoal beleza? Eu vou está ensinado a como compartilhar a sua partinha WWW do wampserver para conexão externa !! Não esqueça de curti, comenta,e se inscrever viu!!! aqui está o que eu mudei no meu httd.conf( Pessoal o youyube não permitiu eu por conchetes vou esta deixando aqui tmb : https://shrib.com/see/FCfgLNj9sKgH8WkKWOibKhU9L4pqXUAdWg9iujhcuDjtZJ3wYb?v=nc): Primeiro : Listen 8080 Listen Segundo(eu adicionei esse na verdade): (VirtualHost *:8080(fecha conchetes) DocumentRoot "c:/wamp/www" ServerName localhost ServerAlias localhost (abre conchetes)Directory "c:/wamp/www"(fecha conchetes) AllowOverride All Require all granted Order Deny,Allow Allow from all (abre conchetes)/Directory(fecha conchetes) (abre conchetes)/VirtualHost(fecha conchetes) Terceiro: ServerName localhost:8080 Quarto: (abre conchetes)Directory /(fecha conchetes) AllowOverride all Require all granted Order Deny,Allow Allow from all (abre conchetes)/Directory(fecha conchetes) Quinto : Options ExecCGI FollowSymLinks Includes Indexes AllowOverride all Allow from all Order allow,deny Allow from all Require all granted Sexto: (abre conchetes)Files ".ht*"(fecha conchetes) Require all granted (abre conchetes)/Files(fecha conchetes) Sétimo: Eu apensa removi a '#' da segunda linha # Virtual hosts Include conf/extra/httpd-vhosts.conf ----------------------------------- O arquivo hots da pasta /Windows/system32/drivers/etc/ eu apensa adicionei : localhost ::1 localhost -------------------------------- Então pessoal o site do no-ip :http://www.noip.com/ E até mais ;D
New xampp security concept: Access Forbidden Error 403
However when I try to access phpMyAdmin I get this error: Access forbidden! "New XAMPP security concept:" Access to the requested directory is only available from the local network. This setting can be configured in the file "httpd-xampp.conf". To fix above error we just need to follow below simple steps: Step-1: Go to exampp server and locate "httpd-xampp.conf" file from this location "C:\xampp\apache\conf\extra". Step-2: Open this file in notepad and search "phpmyadmin" keyword. Step-3: Find this line and replace below Line: Require local Into: Require all granted Step-4: after saving above changes, now restart apache service from xampp control panel window. Step-5: test phpmyadmin access over the network.. That's all..
Views: 36497 Bro Experts
Beginner DevOps - How to Install NGINX on Ubuntu
Let's learn how to install NGINX server on our VPS on SkySIlk.com, that's gonna be a breeze. Get your FREE VPS: http://bit.ly/2xrm79p :: Support Me :: https://www.patreon.com/alecaddd http://www.alecaddd.com/support-me/ https://amzn.to/2Hcp5mo Check out Elementor: http://bit.ly/2q10nRo NordVPN: https://go.nordvpn.net/SHqa Earn $10 on DigitalOcean: https://m.do.co/c/688e1659ac84 :: Join the Forum :: https://forum.alecaddd.com/ GitHub Repo: http://bit.ly/2gvDHAJ :: Tutorial Series :: WordPress 101 - Create a theme from scratch: http://bit.ly/1RVHRLj WordPress Premium Theme Development: http://bit.ly/1UM80mR WordPress Mega Menu: http://bit.ly/2ucxSO4 Learn SASS from Scratch: http://bit.ly/220yzmZ Design Factory: http://bit.ly/1X7Csaz Affinity Designer: http://bit.ly/1X7CrDA :: My Website :: http://www.alecaddd.com/ :: Follow me on :: Twitter: https://twitter.com/alecaddd Google+: http://bit.ly/1Y7sunz Facebook: https://www.facebook.com/alecadddpage
Views: 1063 Alessandro Castellani
Solving Tomcat Throughput Issues on Windows
This is another case study from my email list. Download performance from a Windows Tomcat server was terrible. Here's how we solved it. Write up: http://packetbomb.com/solving-tomcat-throughput-issues-on-windows/
Views: 2168 PacketBomb
Hide Product Option Price - OpencartTools
OPENCART BUY NOW : https://www.opencart.com/index.php?route=marketplace/extension/info&extension_id=34328 DOCUMENT : http://opencarttools.net/document.php?extid=34328
Views: 34 Opencart Tools
9  FollowSymLinks
Views: 130 Roberto García
Hide Server Signature of Nginx Web Server on Linux
in This tutorial you will learn How To Hide Server Signature of Nginx Web Server on ubuntu Linux How to Hide Server Signature of Nginx & PHP Version on Linux Distos like Ubuntu, CentOS, RHEL, ArchLinux, OpenSuse, etc. Server Signature is type of foot-printing in which the version number of web server module like Ngnix and PHP are considered as known by attackers for collection of data for foot-printing of servers by using the simple Linux commands or using some tools or some web browsers for hiding the server signature is necessary to remove the information from the sets to secure the web servers from the external attacks.| First verify if server is showing Nginx version or not :- curl -I http://ubuntu.yourdomain.com gedit /etc/nginx/nginx.conf server_tokens off; gedit /etc/php.ini Or gedit /etc/php/7.0/fpm/php.ini expose_php = Off
Docker and Docker networking with Libnetwork + dockerfile, httpd more
A walk through of docker and docker networking based on libnetwork FROM centos RUN yum update -y && yum install httpd -y && yum install net-tools -y COPY index.html /var/www/html/ LABEL Maintener "dola" EXPOSE 80 ENTRYPOINT ["/sbin/httpd", "-D" , "FOREGROUND"]
Views: 393 dolastack devops