أواجه مشكل انتقال الصفحة إلى صفحة Xampp عند إدراج عنوان موقعي المحلي على المتصفح، ورغم قيامي بالإعدادات المبينة أسفله وإعادة تشغيل السيرفرالمحلي لكن دون جدوى:
127.0.0.1 mysite.local
قمت بتعديل ملف extra/httpd-vhosts.conf :
NameVirtualHost localhost:80
<VirtualHost localhost:80>
ServerName localhost
DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs"
<Directory "/Applications/XAMPP/xamppfiles/htdocs">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Allow from all
</Directory>
</VirtualHost>
<VirtualHost localhost:80>
<Directory "/Applications/XAMPP/xamppfiles/htdocs/wd">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Allow from all
</Directory>
DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs/wd"
ServerName mysite.local
</VirtualHost>
السؤال
Simoh
أواجه مشكل انتقال الصفحة إلى صفحة Xampp عند إدراج عنوان موقعي المحلي على المتصفح، ورغم قيامي بالإعدادات المبينة أسفله وإعادة تشغيل السيرفرالمحلي لكن دون جدوى:
قمت بتعديل ملف extra/httpd-vhosts.conf :
NameVirtualHost localhost:80 <VirtualHost localhost:80> ServerName localhost DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs" <Directory "/Applications/XAMPP/xamppfiles/htdocs"> Options Indexes FollowSymLinks MultiViews AllowOverride all Order Deny,Allow Allow from all </Directory> </VirtualHost> <VirtualHost localhost:80> <Directory "/Applications/XAMPP/xamppfiles/htdocs/wd"> Options Indexes FollowSymLinks MultiViews AllowOverride all Order Deny,Allow Allow from all </Directory> DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs/wd" ServerName mysite.local </VirtualHost>ما هو الحل رجاء؟
1 جواب على هذا السؤال
Recommended Posts
انضم إلى النقاش
يمكنك أن تنشر الآن وتسجل لاحقًا. إذا كان لديك حساب، فسجل الدخول الآن لتنشر باسم حسابك.