سلام
می خواستم این اسکریپ دایرکتوری رو نصب کنم. لطفا راهنماییم کنید
سلام
می خواستم این اسکریپ دایرکتوری رو نصب کنم. لطفا راهنماییم کنید
1. Copy the entire windex folder into your site's directory tree. For instance, if your site's files are in _/www/mysite.com_, upload this folder to be _/www/mysite.com/windex_.
2. Edit windex/config.php and change any configuration options.
3. If your server runs PHP5, you'll need to change to line 4 of _.htaccess_ to `AddHandler application/x-httpd-php5 .php`.
4. Copy and paste the contents of _windex.htaccess_ into a file named _.htaccess_ in the directory where you want to enable Windex. See more on .htaccess below.
5. Try it out! Browse to a directory that does not contain an index file.
وب آلفا
من که درست نفهمیدم! ترجمه این رو ندارید؟
بعد از آپلود تو فایل confing.php در کدوم قسمتش چه تغییراتی باید بدم؟ فایل .htaccess_ رو چیکارش کنم؟
فایل کانفیگ نه ، فایل htaccess .
کد:# In order for the PHP file to execute in a header, need to have a major type of text AddType text/html .php # If your server is running PHP5, change `x-httpd-php` to `x-httpd-php5` AddHandler application/x-httpd-php .php Options -Indexes
به
کد:# In order for the PHP file to execute in a header, need to have a major type of text AddType text/html .php # If your server is running PHP5, change `x-httpd-php` to `x-httpd-php5` AddHandler application/x-httpd-php5 .php Options -Indexes
وب آلفا
فایل htaccess درست کردم . حالا چیکار کنم؟ این که index.php نداره که اجرا بشه!
فایل windex.htaccess رو باز کنید بالاش توضیح داده . در آموزش نصب هم گفته شده ، برای هر فولدری که میخواید نمایش داده بشه باید htaccess محتویات windex.htaccess رو داشته باشه .
وب آلفا
آدرس فولدر رو کجا باید بزارم؟ منظورتون از htaccess فایلی که تو روت هاست هست؟ که این خالی! محتویات windex/htaccess رو توش کپی کردم. عزیز نمیشه یه توضیخ کامل بدی!
نام فایل windex.htaccess هست ، اگر در بسته نیست ، از سایت اصلی اسکریپت رو دانلود کنید :
https://github.com/desandro/windex
اون فایل هم این هست :
https://github.com/desandro/windex/b...index.htaccess
وب آلفا
به این شکل در میاد ! وسط هم نیست! مشکلش چیه؟
untitled1.JPG
آدرس این صفحه رو برای من پیام خصوصی کنید .
وب آلفا
در حال حاضر 1 نفر از این موضوع دیدن می کنند (0 عضو و 1 مهمان)
بوک مارک ها